Struct wkhtmltopdf::Margin
[−]
[src]
pub struct Margin { pub top: Size, pub bottom: Size, pub left: Size, pub right: Size, }
PDF Margins
Fields
top: Size
bottom: Size
left: Size
right: Size
Trait Implementations
impl Debug for Margin
[src]
impl From<Size> for Margin
[src]
impl From<(Size, Size)> for Margin
[src]
fn from(sizes: (Size, Size)) -> Margin
Performs the converstion to margins from an ordered tuple representing: (top & bottom, left & right)
impl From<(Size, Size, Size)> for Margin
[src]
fn from(sizes: (Size, Size, Size)) -> Margin
Performs the converstion to margins from an ordered tuple representing: (top, left & right, bottom)