#[repr(transparent)]pub struct NativeDisplayManager_Orientation(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates orientations.
Available since API-level: 12
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl NativeDisplayManager_Orientation
impl NativeDisplayManager_Orientation
Sourcepub const DISPLAY_MANAGER_PORTRAIT: NativeDisplayManager_Orientation
pub const DISPLAY_MANAGER_PORTRAIT: NativeDisplayManager_Orientation
device portrait show
Sourcepub const DISPLAY_MANAGER_LANDSCAPE: NativeDisplayManager_Orientation
pub const DISPLAY_MANAGER_LANDSCAPE: NativeDisplayManager_Orientation
device landscape show
Sourcepub const DISPLAY_MANAGER_PORTRAIT_INVERTED: NativeDisplayManager_Orientation
pub const DISPLAY_MANAGER_PORTRAIT_INVERTED: NativeDisplayManager_Orientation
device portrait inverted show
Sourcepub const DISPLAY_MANAGER_LANDSCAPE_INVERTED: NativeDisplayManager_Orientation
pub const DISPLAY_MANAGER_LANDSCAPE_INVERTED: NativeDisplayManager_Orientation
device landscape inverted show
Sourcepub const DISPLAY_MANAGER_UNKNOWN: NativeDisplayManager_Orientation
pub const DISPLAY_MANAGER_UNKNOWN: NativeDisplayManager_Orientation
device unknow show
Trait Implementations§
Source§impl Clone for NativeDisplayManager_Orientation
impl Clone for NativeDisplayManager_Orientation
Source§fn clone(&self) -> NativeDisplayManager_Orientation
fn clone(&self) -> NativeDisplayManager_Orientation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeDisplayManager_Orientation
impl Eq for NativeDisplayManager_Orientation
impl StructuralPartialEq for NativeDisplayManager_Orientation
Auto Trait Implementations§
impl Freeze for NativeDisplayManager_Orientation
impl RefUnwindSafe for NativeDisplayManager_Orientation
impl Send for NativeDisplayManager_Orientation
impl Sync for NativeDisplayManager_Orientation
impl Unpin for NativeDisplayManager_Orientation
impl UnwindSafe for NativeDisplayManager_Orientation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)