pub enum ScreenRotation {
Normal,
Rotated90,
Rotated180,
Rotated270,
}
Variants
Normal
Rotated90
Rotated180
Rotated270
Trait Implementations
sourceimpl Add<ScreenRotation> for ScreenRotation
impl Add<ScreenRotation> for ScreenRotation
type Output = ScreenRotation
type Output = ScreenRotation
The resulting type after applying the +
operator.
sourceimpl Clone for ScreenRotation
impl Clone for ScreenRotation
sourcefn clone(&self) -> ScreenRotation
fn clone(&self) -> ScreenRotation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<ScreenRotation> for ScreenRotation
impl PartialEq<ScreenRotation> for ScreenRotation
sourceimpl Sub<ScreenRotation> for ScreenRotation
impl Sub<ScreenRotation> for ScreenRotation
type Output = ScreenRotation
type Output = ScreenRotation
The resulting type after applying the -
operator.
impl Copy for ScreenRotation
impl StructuralPartialEq for ScreenRotation
Auto Trait Implementations
impl RefUnwindSafe for ScreenRotation
impl Send for ScreenRotation
impl Sync for ScreenRotation
impl Unpin for ScreenRotation
impl UnwindSafe for ScreenRotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more