pub struct CollationKey(/* private fields */);
Expand description
A CollationKey
allows ordering strings using the linguistically correct rules for the current locale.
Trait Implementations§
Source§impl Clone for CollationKey
impl Clone for CollationKey
Source§fn clone(&self) -> CollationKey
fn clone(&self) -> CollationKey
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CollationKey
impl Debug for CollationKey
Source§impl Ord for CollationKey
impl Ord for CollationKey
Source§fn cmp(&self, other: &CollationKey) -> Ordering
fn cmp(&self, other: &CollationKey) -> Ordering
1.21.0 · 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 PartialEq for CollationKey
impl PartialEq for CollationKey
Source§impl PartialOrd for CollationKey
impl PartialOrd for CollationKey
impl Eq for CollationKey
impl StructuralPartialEq for CollationKey
Auto Trait Implementations§
impl Freeze for CollationKey
impl RefUnwindSafe for CollationKey
impl Send for CollationKey
impl Sync for CollationKey
impl Unpin for CollationKey
impl UnwindSafe for CollationKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)