Struct windows_sys::Graphics::Display::DisplayOrientations
[−]#[repr(transparent)]pub struct DisplayOrientations(pub u32);
Expand description
Required features: "Graphics_Display"
Tuple Fields
0: u32
Implementations
impl DisplayOrientations
impl DisplayOrientations
pub const None: Self = Self(0u32)
pub const Landscape: Self = Self(1u32)
pub const Portrait: Self = Self(2u32)
pub const LandscapeFlipped: Self = Self(4u32)
pub const PortraitFlipped: Self = Self(8u32)
Trait Implementations
impl Clone for DisplayOrientations
impl Clone for DisplayOrientations
impl Copy for DisplayOrientations
Auto Trait Implementations
impl RefUnwindSafe for DisplayOrientations
impl Send for DisplayOrientations
impl Sync for DisplayOrientations
impl Unpin for DisplayOrientations
impl UnwindSafe for DisplayOrientations
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