pub enum PageSize {
A4,
Letter,
Legal,
Custom {
width_mm: f32,
height_mm: f32,
},
}Expand description
Target page size.
Variants§
A4
ISO A4.
Letter
North American letter.
Legal
North American legal.
Custom
Caller-defined size in millimeters.
Both values must be greater than zero.
Trait Implementations§
impl Copy for PageSize
impl StructuralPartialEq for PageSize
Auto Trait Implementations§
impl Freeze for PageSize
impl RefUnwindSafe for PageSize
impl Send for PageSize
impl Sync for PageSize
impl Unpin for PageSize
impl UnsafeUnpin for PageSize
impl UnwindSafe for PageSize
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