pub trait ShellTypeName {
    fn type_name(&self) -> &'static str;
}
Expand description

A trait that allows structures to define a known .type_name() which pretty-prints the type

Required methods

Implementations on Foreign Types

Return the type_name of the spanned item

Return the type_name for the borrowed reference

Implementors