pub struct Margins {
pub top: f64,
pub right: f64,
pub bottom: f64,
pub left: f64,
}Expand description
Margins for PDF generation in inches.
Fields§
§top: f64Top margin in inches.
right: f64Right margin in inches.
bottom: f64Bottom margin in inches.
left: f64Left margin in inches.
Implementations§
Trait Implementations§
impl Copy for Margins
impl StructuralPartialEq for Margins
Auto Trait Implementations§
impl Freeze for Margins
impl RefUnwindSafe for Margins
impl Send for Margins
impl Sync for Margins
impl Unpin for Margins
impl UnwindSafe for Margins
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more