#[non_exhaustive]#[repr(i16)]pub enum LocaFormat {
Short = 0,
Long = 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.
Trait Implementations§
Source§impl Clone for LocaFormat
impl Clone for LocaFormat
impl Copy for LocaFormat
Source§impl Debug for LocaFormat
impl Debug for LocaFormat
impl Eq for LocaFormat
Source§impl Hash for LocaFormat
impl Hash for LocaFormat
Source§impl Ord for LocaFormat
impl Ord for LocaFormat
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LocaFormat
impl PartialEq for LocaFormat
Source§impl PartialOrd for LocaFormat
impl PartialOrd for LocaFormat
impl StructuralPartialEq for LocaFormat
Auto Trait Implementations§
impl Freeze for LocaFormat
impl RefUnwindSafe for LocaFormat
impl Send for LocaFormat
impl Sync for LocaFormat
impl Unpin for LocaFormat
impl UnsafeUnpin for LocaFormat
impl UnwindSafe for LocaFormat
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