GetPath

Trait GetPath 

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

Shortcut to get syn::Path from various types

Required Methods§

Source

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

Returns syn::Path from object if possible

Implementors§