Trait cli_xtask::fs::ToRelative
source · pub trait ToRelative {
type Output: Display;
// Required method
fn to_relative(self) -> Self::Output;
}
Expand description
Convert a path to a path relative to the current directory which implements
Display
.
Required Associated Types§
Required Methods§
sourcefn to_relative(self) -> Self::Output
fn to_relative(self) -> Self::Output
Convert the path to a path relative to the current directory which
implements Display
.