pub enum Rotation {
None,
Clockwise90,
Clockwise180,
Clockwise270,
CounterClockwise90,
CounterClockwise180,
CounterClockwise270,
}
Expand description
Screen rotation in degrees
Variants§
None
Clockwise90
Clockwise180
Clockwise270
CounterClockwise90
CounterClockwise180
CounterClockwise270
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 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