#[repr(transparent)]pub struct NativeDisplayManagerErrorCode(pub NonZero<c_uint>);Available on crate feature
api-12 only.Expand description
Enumerates the result types of the display manager interface.
Available since API-level: 12
Version: 1.0
Tuple Fields§
§0: NonZero<c_uint>Implementations§
Source§impl NativeDisplayManagerErrorCode
impl NativeDisplayManagerErrorCode
Sourcepub const NO_PERMISSION: NativeDisplayManagerErrorCode
pub const NO_PERMISSION: NativeDisplayManagerErrorCode
Operation no permission
Sourcepub const NOT_SYSTEM_APP: NativeDisplayManagerErrorCode
pub const NOT_SYSTEM_APP: NativeDisplayManagerErrorCode
Operation not system app
Sourcepub const INVALID_PARAM: NativeDisplayManagerErrorCode
pub const INVALID_PARAM: NativeDisplayManagerErrorCode
Operation invalid param
Sourcepub const DEVICE_NOT_SUPPORTED: NativeDisplayManagerErrorCode
pub const DEVICE_NOT_SUPPORTED: NativeDisplayManagerErrorCode
Operation device not supported
Sourcepub const INVALID_SCREEN: NativeDisplayManagerErrorCode
pub const INVALID_SCREEN: NativeDisplayManagerErrorCode
Operation screen invalid
Sourcepub const INVALID_CALL: NativeDisplayManagerErrorCode
pub const INVALID_CALL: NativeDisplayManagerErrorCode
Operation invalid call
Sourcepub const SYSTEM_ABNORMAL: NativeDisplayManagerErrorCode
pub const SYSTEM_ABNORMAL: NativeDisplayManagerErrorCode
Operation system abnormal
Sourcepub const ILLEGAL_PARAM: NativeDisplayManagerErrorCode
Available on crate feature api-20 only.
pub const ILLEGAL_PARAM: NativeDisplayManagerErrorCode
api-20 only.Operation illegal param.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for NativeDisplayManagerErrorCode
impl Clone for NativeDisplayManagerErrorCode
Source§fn clone(&self) -> NativeDisplayManagerErrorCode
fn clone(&self) -> NativeDisplayManagerErrorCode
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 Hash for NativeDisplayManagerErrorCode
impl Hash for NativeDisplayManagerErrorCode
impl Copy for NativeDisplayManagerErrorCode
impl Eq for NativeDisplayManagerErrorCode
impl StructuralPartialEq for NativeDisplayManagerErrorCode
Auto Trait Implementations§
impl Freeze for NativeDisplayManagerErrorCode
impl RefUnwindSafe for NativeDisplayManagerErrorCode
impl Send for NativeDisplayManagerErrorCode
impl Sync for NativeDisplayManagerErrorCode
impl Unpin for NativeDisplayManagerErrorCode
impl UnwindSafe for NativeDisplayManagerErrorCode
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)