Struct windows::Graphics::Display::DisplayOrientations
#[repr(transparent)]pub struct DisplayOrientations(pub u32);
Tuple Fields§
§0: u32
Implementations§
§impl DisplayOrientations
impl DisplayOrientations
pub const None: Self = _
pub const Landscape: Self = _
pub const Portrait: Self = _
pub const LandscapeFlipped: Self = _
pub const PortraitFlipped: Self = _
§impl DisplayOrientations
impl DisplayOrientations
Trait Implementations§
§impl BitAnd for DisplayOrientations
impl BitAnd for DisplayOrientations
§impl BitAndAssign for DisplayOrientations
impl BitAndAssign for DisplayOrientations
§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the
&=
operation. Read more§impl BitOr for DisplayOrientations
impl BitOr for DisplayOrientations
§impl BitOrAssign for DisplayOrientations
impl BitOrAssign for DisplayOrientations
§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the
|=
operation. Read more§impl Clone for DisplayOrientations
impl Clone for DisplayOrientations
§fn clone(&self) -> DisplayOrientations
fn clone(&self) -> DisplayOrientations
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 DisplayOrientations
impl Debug for DisplayOrientations
§impl Default for DisplayOrientations
impl Default for DisplayOrientations
§fn default() -> DisplayOrientations
fn default() -> DisplayOrientations
Returns the “default value” for a type. Read more
§impl Not for DisplayOrientations
impl Not for DisplayOrientations
§impl PartialEq for DisplayOrientations
impl PartialEq for DisplayOrientations
§fn eq(&self, other: &DisplayOrientations) -> bool
fn eq(&self, other: &DisplayOrientations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayOrientations
impl Eq for DisplayOrientations
impl StructuralPartialEq for DisplayOrientations
Auto Trait Implementations§
impl Freeze for DisplayOrientations
impl RefUnwindSafe for DisplayOrientations
impl Send for DisplayOrientations
impl Sync for DisplayOrientations
impl Unpin for DisplayOrientations
impl UnwindSafe for DisplayOrientations
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
)