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