TypeName

Trait TypeName 

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

Required Methods§

Source

fn type_name() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TypeName for &str

Source§

fn type_name() -> &'static str

Source§

impl TypeName for bool

Source§

fn type_name() -> &'static str

Source§

impl TypeName for f32

Source§

fn type_name() -> &'static str

Source§

impl TypeName for Vec<String>

Source§

fn type_name() -> &'static str

Source§

impl TypeName for [&str]

Source§

fn type_name() -> &'static str

Implementors§