pub struct PdfMargins<'a, 'b, 'c, 'd> {
pub top: Option<Length<'a>>,
pub right: Option<Length<'b>>,
pub bottom: Option<Length<'c>>,
pub left: Option<Length<'d>>,
}Fields§
§top: Option<Length<'a>>§right: Option<Length<'b>>§bottom: Option<Length<'c>>§left: Option<Length<'d>>Trait Implementations§
Source§impl<'a, 'b, 'c, 'd> Clone for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Clone for PdfMargins<'a, 'b, 'c, 'd>
Source§fn clone(&self) -> PdfMargins<'a, 'b, 'c, 'd>
fn clone(&self) -> PdfMargins<'a, 'b, 'c, 'd>
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<'a, 'b, 'c, 'd> Debug for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Debug for PdfMargins<'a, 'b, 'c, 'd>
Source§impl<'a, 'b, 'c, 'd> PartialEq for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> PartialEq for PdfMargins<'a, 'b, 'c, 'd>
Source§impl<'a, 'b, 'c, 'd> Serialize for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Serialize for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> StructuralPartialEq for PdfMargins<'a, 'b, 'c, 'd>
Auto Trait Implementations§
impl<'a, 'b, 'c, 'd> Freeze for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> RefUnwindSafe for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Send for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Sync for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> Unpin for PdfMargins<'a, 'b, 'c, 'd>
impl<'a, 'b, 'c, 'd> UnwindSafe for PdfMargins<'a, 'b, 'c, 'd>
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