pub enum Rotation {
None,
Clockwise90,
Rotate180,
Clockwise270,
}Expand description
A rotation in 90° clockwise increments — used both for a page’s own
/Rotate entry and for extra rotation applied at render time.
Variants§
None
No rotation.
Clockwise90
90° clockwise.
Rotate180
180°.
Clockwise270
270° clockwise (90° counter-clockwise).
Implementations§
Trait Implementations§
impl Copy for Rotation
impl Eq for Rotation
impl StructuralPartialEq for Rotation
Auto Trait Implementations§
impl Freeze for Rotation
impl RefUnwindSafe for Rotation
impl Send for Rotation
impl Sync for Rotation
impl Unpin for Rotation
impl UnsafeUnpin for Rotation
impl UnwindSafe for Rotation
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