Struct glib::unicollate::FilenameCollationKey
source · pub struct FilenameCollationKey(GString);
Expand description
A FilenameCollationKey
allows ordering file names using the linguistically correct rules for the current locale.
Compared to CollationKey
, filename collation keys take into consideration dots and other characters
commonly found in file names.
Tuple Fields§
§0: GString
Trait Implementations§
source§impl Clone for FilenameCollationKey
impl Clone for FilenameCollationKey
source§fn clone(&self) -> FilenameCollationKey
fn clone(&self) -> FilenameCollationKey
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 FilenameCollationKey
impl Debug for FilenameCollationKey
source§impl Ord for FilenameCollationKey
impl Ord for FilenameCollationKey
source§fn cmp(&self, other: &FilenameCollationKey) -> Ordering
fn cmp(&self, other: &FilenameCollationKey) -> 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 FilenameCollationKey
impl PartialEq for FilenameCollationKey
source§impl PartialOrd for FilenameCollationKey
impl PartialOrd for FilenameCollationKey
impl Eq for FilenameCollationKey
impl StructuralPartialEq for FilenameCollationKey
Auto Trait Implementations§
impl Freeze for FilenameCollationKey
impl RefUnwindSafe for FilenameCollationKey
impl Send for FilenameCollationKey
impl Sync for FilenameCollationKey
impl Unpin for FilenameCollationKey
impl UnwindSafe for FilenameCollationKey
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
)