usecrate::ident::GetIdent;usesyn::{Ident, Path};/// Shortcut to get [syn::Path] from various types
pubtraitGetPath{/// Returns [syn::Path] from object if possible
fnget_path(&self)->Option<&Path>;}impl<T> GetIdent forTwhere
T: GetPath,
{/// Any [crate::ext::GetPath] automatically implements [crate::ext::GetIdent]
fnget_ident(&self)->Option<&Ident>{self.get_path().and_then(|p|p.get_ident())}}