pub enum PageRotation {
Absent,
Valid(i32),
Malformed,
}Expand description
Distinguishes the three cases get_page_rotation folds into 0.
Variants§
Absent
No /Rotate entry. ISO 32000-1 §7.7.3.3 default of 0 applies.
Valid(i32)
A spec-valid multiple of 90, normalised to 0, 90, 180 or 270.
Malformed
A /Rotate entry that is present but not a spec-valid multiple of 90.
Trait Implementations§
Source§impl Clone for PageRotation
impl Clone for PageRotation
impl Copy for PageRotation
Source§impl Debug for PageRotation
impl Debug for PageRotation
impl Eq for PageRotation
Source§impl PartialEq for PageRotation
impl PartialEq for PageRotation
impl StructuralPartialEq for PageRotation
Auto Trait Implementations§
impl Freeze for PageRotation
impl RefUnwindSafe for PageRotation
impl Send for PageRotation
impl Sync for PageRotation
impl Unpin for PageRotation
impl UnsafeUnpin for PageRotation
impl UnwindSafe for PageRotation
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