Enum ndk::configuration::UiModeNight
source · [−]#[repr(u32)]
pub enum UiModeNight {
Any,
No,
Yes,
}
Variants
Any
No
Yes
Trait Implementations
sourceimpl Clone for UiModeNight
impl Clone for UiModeNight
sourcefn clone(&self) -> UiModeNight
fn clone(&self) -> UiModeNight
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 UiModeNight
impl Debug for UiModeNight
sourceimpl From<UiModeNight> for u32
impl From<UiModeNight> for u32
sourcefn from(enum_value: UiModeNight) -> Self
fn from(enum_value: UiModeNight) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UiModeNight> for UiModeNight
impl PartialEq<UiModeNight> for UiModeNight
sourceimpl TryFrom<u32> for UiModeNight
impl TryFrom<u32> for UiModeNight
type Error = TryFromPrimitiveError<UiModeNight>
type Error = TryFromPrimitiveError<UiModeNight>
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 UiModeNight
impl TryFromPrimitive for UiModeNight
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UiModeNight
impl Eq for UiModeNight
impl StructuralEq for UiModeNight
impl StructuralPartialEq for UiModeNight
Auto Trait Implementations
impl RefUnwindSafe for UiModeNight
impl Send for UiModeNight
impl Sync for UiModeNight
impl Unpin for UiModeNight
impl UnwindSafe for UiModeNight
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