Skip to main content

outermost_type_ident

Function outermost_type_ident 

Source
fn outermost_type_ident(ty: &Type) -> Option<String>
Expand description

Extract the outermost path segment name from a syn::Type, e.g. Option from Option<NonZero<T>> or NonZero from NonZero<T>.