pub enum HostPathKind {
Relative,
UnixAbsolute,
WindowsDriveAbsolute,
WindowsUnc,
HomeRelative,
}Expand description
The lexical category of one authored host path.
Variants§
Relative
A path interpreted relative to the project base directory.
UnixAbsolute
A Unix-style absolute path.
WindowsDriveAbsolute
A Windows drive-letter absolute path.
WindowsUnc
A Windows UNC path.
HomeRelative
~ or a ~/-prefixed path requiring an explicit home directory.
Trait Implementations§
Source§impl Clone for HostPathKind
impl Clone for HostPathKind
Source§fn clone(&self) -> HostPathKind
fn clone(&self) -> HostPathKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostPathKind
Source§impl Debug for HostPathKind
impl Debug for HostPathKind
impl Eq for HostPathKind
Source§impl Hash for HostPathKind
impl Hash for HostPathKind
Source§impl PartialEq for HostPathKind
impl PartialEq for HostPathKind
impl StructuralPartialEq for HostPathKind
Auto Trait Implementations§
impl Freeze for HostPathKind
impl RefUnwindSafe for HostPathKind
impl Send for HostPathKind
impl Sync for HostPathKind
impl Unpin for HostPathKind
impl UnsafeUnpin for HostPathKind
impl UnwindSafe for HostPathKind
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