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§
impl Copy for Tailoring
impl Eq for Tailoring
Source§impl Ord for Tailoring
impl Ord for Tailoring
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 Tailoring
impl PartialOrd for Tailoring
impl StructuralPartialEq for Tailoring
Auto Trait Implementations§
impl Freeze for Tailoring
impl RefUnwindSafe for Tailoring
impl Send for Tailoring
impl Sync for Tailoring
impl Unpin for Tailoring
impl UnsafeUnpin 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