pub struct PathEntry {
pub path: Utf8PathBuf,
pub source: PathSource,
}Expand description
One resolved path, and what decided it.
Fields§
§path: Utf8PathBufThe resolved path.
source: PathSourceWhat decided it.
Implementations§
Source§impl PathEntry
impl PathEntry
Sourcepub fn default_at(path: impl Into<Utf8PathBuf>) -> Self
pub fn default_at(path: impl Into<Utf8PathBuf>) -> Self
A path nothing moved.
Sourcepub fn from_env(path: impl Into<Utf8PathBuf>) -> Self
pub fn from_env(path: impl Into<Utf8PathBuf>) -> Self
A path a variable carried.
Trait Implementations§
impl Eq for PathEntry
impl StructuralPartialEq for PathEntry
Auto Trait Implementations§
impl Freeze for PathEntry
impl RefUnwindSafe for PathEntry
impl Send for PathEntry
impl Sync for PathEntry
impl Unpin for PathEntry
impl UnsafeUnpin for PathEntry
impl UnwindSafe for PathEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.