pub enum Rotation {
Rotate0,
Rotate90,
Rotate180,
Rotate270,
}Expand description
Rotation
Variants§
Rotate0
Does not rotate
Rotate90
Rotate by 90 degrees clockwise
Rotate180
Rotate by 180 degrees clockwise
Rotate270
Rotate by 270 degrees clockwise (or 90 degrees counter-clockwise)
Implementations§
Trait Implementations§
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