Function document_metrics::get_path_type
source · pub(crate) fn get_path_type(path: Path) -> Option<Ident>
Expand description
Returns the final type name from a path in format path::to::Type
.
pub(crate) fn get_path_type(path: Path) -> Option<Ident>
Returns the final type name from a path in format path::to::Type
.