Trait devise_core::ext::PathExt
source · pub trait PathExt {
// Required methods
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>>;
}