pub struct NativePathKey(/* private fields */);Expand description
A hashable and orderable lexical path identity using native case rules.
The key is useful when another crate needs a map or set whose identity must
agree with paths_equal. It does not canonicalize the filesystem or
resolve links.
Implementations§
Trait Implementations§
Source§impl Clone for NativePathKey
impl Clone for NativePathKey
Source§fn clone(&self) -> NativePathKey
fn clone(&self) -> NativePathKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativePathKey
impl Debug for NativePathKey
impl Eq for NativePathKey
Source§impl Hash for NativePathKey
impl Hash for NativePathKey
Source§impl Ord for NativePathKey
impl Ord for NativePathKey
Source§fn cmp(&self, other: &NativePathKey) -> Ordering
fn cmp(&self, other: &NativePathKey) -> Ordering
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for NativePathKey
impl PartialEq for NativePathKey
Source§impl PartialOrd for NativePathKey
impl PartialOrd for NativePathKey
impl StructuralPartialEq for NativePathKey
Auto Trait Implementations§
impl Freeze for NativePathKey
impl RefUnwindSafe for NativePathKey
impl Send for NativePathKey
impl Sync for NativePathKey
impl Unpin for NativePathKey
impl UnsafeUnpin for NativePathKey
impl UnwindSafe for NativePathKey
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