pub struct PathLikeRef<'a>(&'a Path);
Expand description
Tuple Fields§
§0: &'a Path
Trait Implementations§
Source§impl AsRef<Path> for PathLikeRef<'_>
impl AsRef<Path> for PathLikeRef<'_>
Source§impl<'a> Clone for PathLikeRef<'a>
impl<'a> Clone for PathLikeRef<'a>
Source§fn clone(&self) -> PathLikeRef<'a>
fn clone(&self) -> PathLikeRef<'a>
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 PathLikeRef<'_>
impl Debug for PathLikeRef<'_>
Source§impl<'a> From<&'a Path> for PathLikeRef<'a>
impl<'a> From<&'a Path> for PathLikeRef<'a>
Source§impl<'a> From<&'a str> for PathLikeRef<'a>
impl<'a> From<&'a str> for PathLikeRef<'a>
Source§impl<'a> From<PathLikeRef<'a>> for &'a Path
impl<'a> From<PathLikeRef<'a>> for &'a Path
Source§fn from(value: PathLikeRef<'a>) -> Self
fn from(value: PathLikeRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for PathLikeRef<'a>
impl<'a> Hash for PathLikeRef<'a>
Source§impl<'a> Ord for PathLikeRef<'a>
impl<'a> Ord for PathLikeRef<'a>
Source§fn cmp(&self, other: &PathLikeRef<'a>) -> Ordering
fn cmp(&self, other: &PathLikeRef<'a>) -> 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<'a> PartialEq for PathLikeRef<'a>
impl<'a> PartialEq for PathLikeRef<'a>
Source§impl<'a> PartialOrd for PathLikeRef<'a>
impl<'a> PartialOrd for PathLikeRef<'a>
impl<'a> Copy for PathLikeRef<'a>
impl<'a> Eq for PathLikeRef<'a>
impl<'a> StructuralPartialEq for PathLikeRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for PathLikeRef<'a>
impl<'a> RefUnwindSafe for PathLikeRef<'a>
impl<'a> Send for PathLikeRef<'a>
impl<'a> Sync for PathLikeRef<'a>
impl<'a> Unpin for PathLikeRef<'a>
impl<'a> UnwindSafe for PathLikeRef<'a>
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.