pub trait HasName { fn name(&self) -> String; }
A trait for types that have a computed name.
Returns the computed name of the type.