pub enum PathForm {
Absolute,
Relative,
Either,
}Expand description
Permitted absolute or relative form for paths accepted by a filesystem.
§Examples
use qubit_fs::path::PathForm;
assert!(matches!(PathForm::Absolute, PathForm::Absolute));Variants§
Absolute
Only absolute paths are accepted.
Relative
Only relative paths are accepted.
Either
Both absolute and relative paths are accepted.
Trait Implementations§
impl Copy for PathForm
impl Eq for PathForm
impl StructuralPartialEq for PathForm
Auto Trait Implementations§
impl Freeze for PathForm
impl RefUnwindSafe for PathForm
impl Send for PathForm
impl Sync for PathForm
impl Unpin for PathForm
impl UnsafeUnpin for PathForm
impl UnwindSafe for PathForm
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