Enum file_paths::FlexPathVariant
source · 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:
Common
Windows
Variants§
Common
Indicates that the path is manipulated in a common way.
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 copy 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§fn eq(&self, other: &FlexPathVariant) -> bool
fn eq(&self, other: &FlexPathVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FlexPathVariant
impl PartialOrd for FlexPathVariant
source§fn partial_cmp(&self, other: &FlexPathVariant) -> Option<Ordering>
fn partial_cmp(&self, other: &FlexPathVariant) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FlexPathVariant
impl Eq for FlexPathVariant
impl StructuralEq for FlexPathVariant
impl StructuralPartialEq for FlexPathVariant
Auto Trait Implementations§
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