Enum ndk::configuration::ScreenLong
source · #[repr(u32)]pub enum ScreenLong {
Any,
No,
Yes,
}Variants§
Trait Implementations§
source§impl Clone for ScreenLong
impl Clone for ScreenLong
source§fn clone(&self) -> ScreenLong
fn clone(&self) -> ScreenLong
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 moresource§impl Debug for ScreenLong
impl Debug for ScreenLong
source§impl From<ScreenLong> for u32
impl From<ScreenLong> for u32
source§fn from(enum_value: ScreenLong) -> Self
fn from(enum_value: ScreenLong) -> Self
Converts to this type from the input type.
source§impl PartialEq<ScreenLong> for ScreenLong
impl PartialEq<ScreenLong> for ScreenLong
source§fn eq(&self, other: &ScreenLong) -> bool
fn eq(&self, other: &ScreenLong) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for ScreenLong
impl TryFrom<u32> for ScreenLong
§type Error = TryFromPrimitiveError<ScreenLong>
type Error = TryFromPrimitiveError<ScreenLong>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for ScreenLong
impl TryFromPrimitive for ScreenLong
type Primitive = u32
type Error = TryFromPrimitiveError<ScreenLong>
const NAME: &'static str = _
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ScreenLong
impl Eq for ScreenLong
impl StructuralEq for ScreenLong
impl StructuralPartialEq for ScreenLong
Auto Trait Implementations§
impl RefUnwindSafe for ScreenLong
impl Send for ScreenLong
impl Sync for ScreenLong
impl Unpin for ScreenLong
impl UnwindSafe for ScreenLong
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