#[non_exhaustive]#[repr(u8)]pub enum TimeMode {
Hour12 = 0,
Hour24 = 1,
Military = 2,
Hour12WithSeconds = 3,
Hour24WithSeconds = 4,
Utc = 5,
}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§
Trait Implementations§
impl Copy for TimeMode
impl Eq for TimeMode
impl StructuralPartialEq for TimeMode
Auto Trait Implementations§
impl Freeze for TimeMode
impl RefUnwindSafe for TimeMode
impl Send for TimeMode
impl Sync for TimeMode
impl Unpin for TimeMode
impl UnsafeUnpin for TimeMode
impl UnwindSafe for TimeMode
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