pub trait PathExt {
// Required methods
fn last_segment(&self) -> &PathSegment;
fn last_segment_mut(&mut self) -> &mut PathSegment;
fn leading_path(&self) -> Vec<&PathSegment>;
}pub trait PathExt {
// Required methods
fn last_segment(&self) -> &PathSegment;
fn last_segment_mut(&mut self) -> &mut PathSegment;
fn leading_path(&self) -> Vec<&PathSegment>;
}