#[repr(transparent)]pub struct NativeDisplayManager_DisplayState(pub c_uint);Available on crate feature
api-14 only.Expand description
Enumerates of the display state.
Available since API-level: 14
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl NativeDisplayManager_DisplayState
impl NativeDisplayManager_DisplayState
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_UNKNOWN: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_UNKNOWN: NativeDisplayManager_DisplayState
display state unknown
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_OFF: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_OFF: NativeDisplayManager_DisplayState
display state off
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_ON: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_ON: NativeDisplayManager_DisplayState
display state on
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_DOZE: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_DOZE: NativeDisplayManager_DisplayState
display state doze
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_DOZE_SUSPEND: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_DOZE_SUSPEND: NativeDisplayManager_DisplayState
display state doze suspend
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_VR: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_VR: NativeDisplayManager_DisplayState
display state vr
Sourcepub const DISPLAY_MANAGER_DISPLAY_STATE_ON_SUSPEND: NativeDisplayManager_DisplayState
pub const DISPLAY_MANAGER_DISPLAY_STATE_ON_SUSPEND: NativeDisplayManager_DisplayState
display state on suspend
Trait Implementations§
Source§impl Clone for NativeDisplayManager_DisplayState
Available on crate feature api-12 only.
impl Clone for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.Source§fn clone(&self) -> NativeDisplayManager_DisplayState
fn clone(&self) -> NativeDisplayManager_DisplayState
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 moreSource§impl Debug for NativeDisplayManager_DisplayState
Available on crate feature api-12 only.
impl Debug for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.Source§impl Hash for NativeDisplayManager_DisplayState
Available on crate feature api-12 only.
impl Hash for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.Source§impl PartialEq for NativeDisplayManager_DisplayState
Available on crate feature api-12 only.
impl PartialEq for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl Copy for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl Eq for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl StructuralPartialEq for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.Auto Trait Implementations§
impl Freeze for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl RefUnwindSafe for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl Send for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl Sync for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl Unpin for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.impl UnwindSafe for NativeDisplayManager_DisplayState
Available on crate feature
api-12 only.Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on crate feature api-12 only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on crate feature
api-12 only.§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,
Available on crate feature api-12 only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on crate feature
api-12 only.§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)