Enum kernel::hil::screen::ScreenRotation
source · pub enum ScreenRotation {
Normal,
Rotated90,
Rotated180,
Rotated270,
}
Variants§
Trait Implementations§
source§impl Add for ScreenRotation
impl Add for ScreenRotation
source§impl Clone for ScreenRotation
impl Clone for ScreenRotation
source§fn clone(&self) -> ScreenRotation
fn clone(&self) -> ScreenRotation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for ScreenRotation
impl PartialEq for ScreenRotation
source§fn eq(&self, other: &ScreenRotation) -> bool
fn eq(&self, other: &ScreenRotation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for ScreenRotation
impl Sub for ScreenRotation
impl Copy for ScreenRotation
impl StructuralPartialEq for ScreenRotation
Auto Trait Implementations§
impl Freeze for ScreenRotation
impl RefUnwindSafe for ScreenRotation
impl Send for ScreenRotation
impl Sync for ScreenRotation
impl Unpin for ScreenRotation
impl UnwindSafe for ScreenRotation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)