pub(crate) fn get_type_name(ty: Type) -> Option<Ident>
Returns the type name of a type in format path::to::Type.
path::to::Type