pub enum PageSize {
A4,
Letter,
Legal,
Custom(f32, f32),
}Expand description
Page sizes in points (1 point = 1/72 inch).
Variants§
Implementations§
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