Trait devise_core::ext::PathExt[][src]

pub trait PathExt {
    fn is(&self, global: bool, segments: &[&str]) -> bool;
fn is_local(&self, segments: &[&str]) -> bool;
fn is_global(&self, segments: &[&str]) -> bool;
fn last_ident(&self) -> Option<&Ident>;
fn generics(&self) -> Option<&Punctuated<GenericArgument, Comma>>; }

Required methods

Implementations on Foreign Types

Implementors