#[non_exhaustive]pub enum LocaleIdAlias {
En,
Ru,
}Expand description
A shipped locale (D-19).
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 LocaleId
impl Eq for LocaleId
Source§impl Ord for LocaleId
impl Ord for LocaleId
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
Source§impl PartialOrd for LocaleId
impl PartialOrd for LocaleId
impl StructuralPartialEq for LocaleId
Auto Trait Implementations§
impl Freeze for LocaleId
impl RefUnwindSafe for LocaleId
impl Send for LocaleId
impl Sync for LocaleId
impl Unpin for LocaleId
impl UnsafeUnpin for LocaleId
impl UnwindSafe for LocaleId
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