#[non_exhaustive]pub struct PdfMargin {
pub top: Option<f64>,
pub bottom: Option<f64>,
pub left: Option<f64>,
pub right: Option<f64>,
}Expand description
PDF page margins in inches.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.top: Option<f64>§bottom: Option<f64>§left: Option<f64>§right: Option<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfMargin
impl RefUnwindSafe for PdfMargin
impl Send for PdfMargin
impl Sync for PdfMargin
impl Unpin for PdfMargin
impl UnsafeUnpin for PdfMargin
impl UnwindSafe for PdfMargin
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