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
.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
Converts the given value to a
String
.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.