pub enum PathStyle {
Windows,
Macos,
Linux,
}Expand description
How an OS spells and compares paths.
Variants§
Windows
Backslashes, drive letters, letter case ignored.
Macos
Slashes, letter case ignored, as on the default APFS volumes.
Linux
Slashes, letter case significant; also every other Unix.
Implementations§
Trait Implementations§
impl Copy for PathStyle
impl Eq for PathStyle
impl StructuralPartialEq for PathStyle
Auto Trait Implementations§
impl Forget for PathStyle
impl Freeze for PathStyle
impl RefUnwindSafe for PathStyle
impl Send for PathStyle
impl Sync for PathStyle
impl Unpin for PathStyle
impl UnsafeUnpin for PathStyle
impl UnwindSafe for PathStyle
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