pub trait TypeName { // Required method fn type_name() -> Type; }
A trait the gives a name an version to a given type
Returns the Type of the &self. Lives only on the instance so you can be object-safe for use in dyn TypeName.
Type
&self
dyn TypeName