pub struct DisplayPath<'a, State: PathState> { /* private fields */ }
Available on
Linux
only.Implementations§
Source§impl<'a> DisplayPath<'a, Abs>
impl<'a> DisplayPath<'a, Abs>
pub const fn full(&self) -> DisplayFull<'a>
pub const fn shrink_home(&self) -> DisplayHome<'a>
Source§impl<'a> DisplayPath<'a, Rel>
impl<'a> DisplayPath<'a, Rel>
pub const fn dot_slash(&self) -> DisplayDotSlash<'a>
pub const fn slash(&self) -> DisplaySlash<'a>
pub const fn no_lead(&self) -> DisplayNoLead<'a>
Trait Implementations§
Source§impl<'a> Display for DisplayPath<'a, Abs>
impl<'a> Display for DisplayPath<'a, Abs>
Auto Trait Implementations§
impl<'a, State> Freeze for DisplayPath<'a, State>
impl<'a, State> RefUnwindSafe for DisplayPath<'a, State>
impl<'a, State> Send for DisplayPath<'a, State>
impl<'a, State> Sync for DisplayPath<'a, State>
impl<'a, State> Unpin for DisplayPath<'a, State>
impl<'a, State> UnwindSafe for DisplayPath<'a, State>
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