Struct windows_sys::Devices::Sensors::SimpleOrientation
[−]#[repr(transparent)]pub struct SimpleOrientation(pub i32);
Expand description
Required features: "Devices_Sensors"
Tuple Fields
0: i32
Implementations
impl SimpleOrientation
impl SimpleOrientation
pub const NotRotated: Self = Self(0i32)
pub const Rotated90DegreesCounterclockwise: Self = Self(1i32)
pub const Rotated180DegreesCounterclockwise: Self = Self(2i32)
pub const Rotated270DegreesCounterclockwise: Self = Self(3i32)
pub const Faceup: Self = Self(4i32)
pub const Facedown: Self = Self(5i32)
Trait Implementations
impl Clone for SimpleOrientation
impl Clone for SimpleOrientation
impl Copy for SimpleOrientation
Auto Trait Implementations
impl RefUnwindSafe for SimpleOrientation
impl Send for SimpleOrientation
impl Sync for SimpleOrientation
impl Unpin for SimpleOrientation
impl UnwindSafe for SimpleOrientation
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