Struct relative_path::Display
source · [−]pub struct Display<'a> { /* private fields */ }
Expand description
Helper struct for printing relative paths.
This is not strictly necessary in the same sense as it is for Display
,
because relative paths are guaranteed to be valid UTF-8. But the behavior is
preserved to simplify the transition between Path
and RelativePath
.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Display<'a>
impl<'a> Send for Display<'a>
impl<'a> Sync for Display<'a>
impl<'a> Unpin for Display<'a>
impl<'a> UnwindSafe for Display<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more