pub enum PathStyle {
Windows,
Unix,
Auto,
}Expand description
Path style enumeration
Variants§
Windows
Windows path style (C:\Users\name)
Unix
Unix/Linux path style (/home/name)
Auto
Auto-detect based on current platform
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathStyle
impl<'de> Deserialize<'de> for PathStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PathStyle
impl Eq for PathStyle
impl StructuralPartialEq for PathStyle
Auto Trait Implementations§
impl Freeze for PathStyle
impl RefUnwindSafe for PathStyle
impl Send for PathStyle
impl Sync for PathStyle
impl Unpin 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