Struct windows::Devices::Sensors::SimpleOrientation
#[repr(transparent)]pub struct SimpleOrientation(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl SimpleOrientation
impl SimpleOrientation
pub const NotRotated: Self = _
pub const Rotated90DegreesCounterclockwise: Self = _
pub const Rotated180DegreesCounterclockwise: Self = _
pub const Rotated270DegreesCounterclockwise: Self = _
pub const Faceup: Self = _
pub const Facedown: Self = _
Trait Implementations§
§impl Clone for SimpleOrientation
impl Clone for SimpleOrientation
§fn clone(&self) -> SimpleOrientation
fn clone(&self) -> SimpleOrientation
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 more§impl Debug for SimpleOrientation
impl Debug for SimpleOrientation
§impl Default for SimpleOrientation
impl Default for SimpleOrientation
§fn default() -> SimpleOrientation
fn default() -> SimpleOrientation
Returns the “default value” for a type. Read more
§impl PartialEq for SimpleOrientation
impl PartialEq for SimpleOrientation
§fn eq(&self, other: &SimpleOrientation) -> bool
fn eq(&self, other: &SimpleOrientation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SimpleOrientation
impl Eq for SimpleOrientation
impl StructuralPartialEq for SimpleOrientation
Auto Trait Implementations§
impl Freeze for SimpleOrientation
impl RefUnwindSafe for SimpleOrientation
impl Send for SimpleOrientation
impl Sync for SimpleOrientation
impl Unpin for SimpleOrientation
impl UnwindSafe for SimpleOrientation
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
)