#[non_exhaustive]#[repr(u8)]pub enum NoFlyTimeMode {
Standard = 0,
Flat24Hours = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl NoFlyTimeMode
impl NoFlyTimeMode
Trait Implementations§
Source§impl Clone for NoFlyTimeMode
impl Clone for NoFlyTimeMode
Source§fn clone(&self) -> NoFlyTimeMode
fn clone(&self) -> NoFlyTimeMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoFlyTimeMode
impl Debug for NoFlyTimeMode
Source§impl Hash for NoFlyTimeMode
impl Hash for NoFlyTimeMode
Source§impl PartialEq for NoFlyTimeMode
impl PartialEq for NoFlyTimeMode
Source§fn eq(&self, other: &NoFlyTimeMode) -> bool
fn eq(&self, other: &NoFlyTimeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NoFlyTimeMode
impl Eq for NoFlyTimeMode
impl StructuralPartialEq for NoFlyTimeMode
Auto Trait Implementations§
impl Freeze for NoFlyTimeMode
impl RefUnwindSafe for NoFlyTimeMode
impl Send for NoFlyTimeMode
impl Sync for NoFlyTimeMode
impl Unpin for NoFlyTimeMode
impl UnsafeUnpin for NoFlyTimeMode
impl UnwindSafe for NoFlyTimeMode
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