pub enum Tailoring {
Cldr(Locale),
Ducet,
}
Expand description
This enum provides for a choice of which collation tailoring (or table of character weights) to
use. With the CLDR table, there is a further choice of locale. (The Root
locale represents the
table in its unmodified form.)
Variants§
Cldr(Locale)
The table associated with the CLDR root collation order, and locale tailorings based thereon (recommended)
Ducet
The default table for the Unicode Collation Algorithm
Trait Implementations§
source§impl Ord for Tailoring
impl Ord for Tailoring
source§impl PartialEq for Tailoring
impl PartialEq for Tailoring
source§impl PartialOrd for Tailoring
impl PartialOrd for Tailoring
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 Tailoring
impl Eq for Tailoring
impl StructuralPartialEq for Tailoring
Auto Trait Implementations§
impl RefUnwindSafe for Tailoring
impl Send for Tailoring
impl Sync for Tailoring
impl Unpin for Tailoring
impl UnwindSafe for Tailoring
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