pub struct Display<'a> { /* private fields */ }๐Deprecated: RelativePath implements std::fmt::Display directly
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> Freeze for Display<'a>
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ยง
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