pub enum PathDialect {
Posix,
Windows,
}Expand description
Lexical path syntax used by a configuration value.
This is separate from the compiling host target so a portable configuration can validate a Windows overlay while it is read on Linux or macOS.
Variants§
Implementations§
Source§impl PathDialect
impl PathDialect
Trait Implementations§
Source§impl Clone for PathDialect
impl Clone for PathDialect
impl Copy for PathDialect
Source§impl Debug for PathDialect
impl Debug for PathDialect
impl Eq for PathDialect
Source§impl Hash for PathDialect
impl Hash for PathDialect
Source§impl Ord for PathDialect
impl Ord for PathDialect
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 PathDialect
impl PartialEq for PathDialect
Source§impl PartialOrd for PathDialect
impl PartialOrd for PathDialect
impl StructuralPartialEq for PathDialect
Auto Trait Implementations§
impl Freeze for PathDialect
impl RefUnwindSafe for PathDialect
impl Send for PathDialect
impl Sync for PathDialect
impl Unpin for PathDialect
impl UnsafeUnpin for PathDialect
impl UnwindSafe for PathDialect
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