Struct std::path::Display
pub struct Display<'a, P> { // some fields omitted }
Helper struct for printing paths with format!()
Methods
impl<'a, P: GenericPath> Display<'a, P>
fn as_maybe_owned(&self) -> MaybeOwned<'a>
Returns the path as a possibly-owned string.
If the path is not UTF-8, invalid sequences will be replaced with the unicode replacement char. This involves allocation.