#[repr(u32)]pub enum UiModeNight {
Any = 0,
No = 1,
Yes = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for UiModeNight
impl Clone for UiModeNight
Source§fn clone(&self) -> UiModeNight
fn clone(&self) -> UiModeNight
Returns a duplicate 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 UiModeNight
impl Debug for UiModeNight
Source§impl From<UiModeNight> for u32
impl From<UiModeNight> for u32
Source§fn from(number: UiModeNight) -> Self
fn from(number: UiModeNight) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UiModeNight
impl PartialEq for UiModeNight
Source§impl TryFrom<u32> for UiModeNight
impl TryFrom<u32> for UiModeNight
impl Copy for UiModeNight
impl Eq for UiModeNight
impl StructuralPartialEq for UiModeNight
Auto Trait Implementations§
impl Freeze for UiModeNight
impl RefUnwindSafe for UiModeNight
impl Send for UiModeNight
impl Sync for UiModeNight
impl Unpin for UiModeNight
impl UnwindSafe for UiModeNight
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more