pub struct PageMarginsConfig {
pub left: f64,
pub right: f64,
pub top: f64,
pub bottom: f64,
pub header: f64,
pub footer: f64,
}Expand description
Page margin configuration in inches.
Fields§
§left: f64Left margin in inches.
right: f64Right margin in inches.
top: f64Top margin in inches.
bottom: f64Bottom margin in inches.
header: f64Header margin in inches.
Footer margin in inches.
Trait Implementations§
Source§impl Clone for PageMarginsConfig
impl Clone for PageMarginsConfig
Source§fn clone(&self) -> PageMarginsConfig
fn clone(&self) -> PageMarginsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageMarginsConfig
impl Debug for PageMarginsConfig
Auto Trait Implementations§
impl Freeze for PageMarginsConfig
impl RefUnwindSafe for PageMarginsConfig
impl Send for PageMarginsConfig
impl Sync for PageMarginsConfig
impl Unpin for PageMarginsConfig
impl UnwindSafe for PageMarginsConfig
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