Trait TypeName

Source
pub trait TypeName {
    // Required method
    fn type_name(&self) -> &'static str;
}
Expand description

Trait returning name of type of variable.

Required Methods§

Source

fn type_name(&self) -> &'static str

Return name of type of variable.

Implementors§

Source§

impl<T> TypeName for T
where T: ?Sized,