pub struct AnonHomePath<'a>(&'a Path);
Available on crate feature
anon_home
only.Expand description
A wrapper for Path
which, when displayed, replaces the home directory with
a symbolic reference.
Tuple Fields§
§0: &'a Path
Trait Implementations§
Source§impl<'a> Clone for AnonHomePath<'a>
impl<'a> Clone for AnonHomePath<'a>
Source§fn clone(&self) -> AnonHomePath<'a>
fn clone(&self) -> AnonHomePath<'a>
Returns a duplicate 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<'a> Debug for AnonHomePath<'a>
impl<'a> Debug for AnonHomePath<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnonHomePath<'a>
impl<'a> RefUnwindSafe for AnonHomePath<'a>
impl<'a> Send for AnonHomePath<'a>
impl<'a> Sync for AnonHomePath<'a>
impl<'a> Unpin for AnonHomePath<'a>
impl<'a> UnwindSafe for AnonHomePath<'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