Trait syn_ext::ext::GetPath[][src]

pub trait GetPath {
    fn get_path(&self) -> Option<&Path>;
}
Expand description

Shortcut to get syn::Path from various types

Required methods

Returns syn::Path from object if possible

Implementations on Foreign Types

Get path if syn::NestedMeta::Meta; Otherwise None

Implementors