pub enum Locale {
ArabicScript,
Root,
}
Expand description
This enum provides for a choice of which locale to use with the CLDR table of character weights.
The default, Root
, represents the CLDR root collation order. At the moment, there is only one
other choice: ArabicScript
. But the list should grow over time.
Variants§
ArabicScript
This locale defines a tailoring in which the Arabic script sorts before the Latin script. No more granular adjustments have been made.
Root
The CLDR root collation order
Trait Implementations§
source§impl Ord for Locale
impl Ord for Locale
source§impl PartialEq for Locale
impl PartialEq for Locale
source§impl PartialOrd for Locale
impl PartialOrd for Locale
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Locale
impl Eq for Locale
impl StructuralPartialEq for Locale
Auto Trait Implementations§
impl RefUnwindSafe for Locale
impl Send for Locale
impl Sync for Locale
impl Unpin for Locale
impl UnwindSafe for Locale
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