pub struct Prefix {
pub prefix: String,
pub name: String,
}
Expand description
A path prefix which should be replaced when printing file names.
Fields§
§prefix: String
Prefix to strip
name: String
Name replacing the stripped prefix.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prefix
impl RefUnwindSafe for Prefix
impl Send for Prefix
impl Sync for Prefix
impl Unpin for Prefix
impl UnwindSafe for Prefix
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