pub struct PlatformPathKey { /* private fields */ }Expand description
A hashable lexical path identity for an explicitly selected dialect.
Unlike NativePathKey, this key does not use the compiling host target.
It is intended for portable configuration and profile merging. It does
not inspect the filesystem or resolve links.
Implementations§
Source§impl PlatformPathKey
impl PlatformPathKey
Sourcepub fn new(value: &str, dialect: PathDialect) -> Self
pub fn new(value: &str, dialect: PathDialect) -> Self
Creates a lexical identity using the explicitly selected dialect.
Trait Implementations§
Source§impl Clone for PlatformPathKey
impl Clone for PlatformPathKey
Source§impl Debug for PlatformPathKey
impl Debug for PlatformPathKey
impl Eq for PlatformPathKey
Source§impl Hash for PlatformPathKey
impl Hash for PlatformPathKey
Source§impl Ord for PlatformPathKey
impl Ord for PlatformPathKey
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 PlatformPathKey
impl PartialEq for PlatformPathKey
Source§impl PartialOrd for PlatformPathKey
impl PartialOrd for PlatformPathKey
impl StructuralPartialEq for PlatformPathKey
Auto Trait Implementations§
impl Freeze for PlatformPathKey
impl RefUnwindSafe for PlatformPathKey
impl Send for PlatformPathKey
impl Sync for PlatformPathKey
impl Unpin for PlatformPathKey
impl UnsafeUnpin for PlatformPathKey
impl UnwindSafe for PlatformPathKey
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