PathExt

Trait PathExt 

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

Required Methods§

Implementations on Foreign Types§

Source§

impl PathExt for Path

Implementors§