pub enum FlexPathVariant {
Common,
Windows,
}Expand description
Indicates if special absolute paths are considered.
Currently, only two variants are defined, considering that there is no known operating system with different path support other than Windows:
CommonWindows
Variants§
Common
Indicates that the path is manipulated in a Unix common way, resulting into forward slashes.
Windows
Indicates that the path is manipulated compatibly with the Windows operating system.
Implementations§
Trait Implementations§
Source§impl Clone for FlexPathVariant
impl Clone for FlexPathVariant
Source§fn clone(&self) -> FlexPathVariant
fn clone(&self) -> FlexPathVariant
Returns a duplicate of the value. Read more
1.0.0 · 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 FlexPathVariant
impl Debug for FlexPathVariant
Source§impl Ord for FlexPathVariant
impl Ord for FlexPathVariant
Source§fn cmp(&self, other: &FlexPathVariant) -> Ordering
fn cmp(&self, other: &FlexPathVariant) -> Ordering
1.21.0 · 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
Source§impl PartialEq for FlexPathVariant
impl PartialEq for FlexPathVariant
Source§impl PartialOrd for FlexPathVariant
impl PartialOrd for FlexPathVariant
impl Copy for FlexPathVariant
impl Eq for FlexPathVariant
impl StructuralPartialEq for FlexPathVariant
Auto Trait Implementations§
impl Freeze for FlexPathVariant
impl RefUnwindSafe for FlexPathVariant
impl Send for FlexPathVariant
impl Sync for FlexPathVariant
impl Unpin for FlexPathVariant
impl UnwindSafe for FlexPathVariant
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