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

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

Shortcut to get syn::Path from various types

Required methods

fn get_path(&self) -> Option<&Path>

Returns syn::Path from object if possible

Loading content...

Implementations on Foreign Types

impl GetPath for NestedMeta[src]

fn get_path(&self) -> Option<&Path>[src]

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

Loading content...

Implementors

Loading content...