Enum ndk::configuration::ScreenLong
source · [−]#[repr(u32)]
pub enum ScreenLong {
Any,
No,
Yes,
}
Variants
Any
No
Yes
Trait Implementations
sourceimpl Clone for ScreenLong
impl Clone for ScreenLong
sourcefn clone(&self) -> ScreenLong
fn clone(&self) -> ScreenLong
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScreenLong
impl Debug for ScreenLong
sourceimpl From<ScreenLong> for u32
impl From<ScreenLong> for u32
sourcefn from(enum_value: ScreenLong) -> Self
fn from(enum_value: ScreenLong) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ScreenLong> for ScreenLong
impl PartialEq<ScreenLong> for ScreenLong
sourceimpl 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.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for ScreenLong
impl TryFromPrimitive for ScreenLong
type Primitive = u32
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more