TypeName

Trait TypeName 

Source
pub(crate) trait TypeName {
    const TYPE_NAME: &'static str;
}

Required Associated Constants§

Source

const 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 f32

Source§

const TYPE_NAME: &'static str = "f32"

Source§

impl TypeName for f64

Source§

const TYPE_NAME: &'static str = "f64"

Source§

impl TypeName for i8

Source§

const TYPE_NAME: &'static str = "i8"

Source§

impl TypeName for i16

Source§

const TYPE_NAME: &'static str = "i16"

Source§

impl TypeName for i32

Source§

const TYPE_NAME: &'static str = "i32"

Source§

impl TypeName for i64

Source§

const TYPE_NAME: &'static str = "i64"

Source§

impl TypeName for i128

Source§

const TYPE_NAME: &'static str = "i128"

Source§

impl TypeName for isize

Source§

const TYPE_NAME: &'static str = "isize"

Source§

impl TypeName for u8

Source§

const TYPE_NAME: &'static str = "u8"

Source§

impl TypeName for u16

Source§

const TYPE_NAME: &'static str = "u16"

Source§

impl TypeName for u32

Source§

const TYPE_NAME: &'static str = "u32"

Source§

impl TypeName for u64

Source§

const TYPE_NAME: &'static str = "u64"

Source§

impl TypeName for u128

Source§

const TYPE_NAME: &'static str = "u128"

Source§

impl TypeName for ()

Source§

const TYPE_NAME: &'static str = "()"

Source§

impl TypeName for usize

Source§

const TYPE_NAME: &'static str = "usize"

Source§

impl<const N: usize> TypeName for [f32; N]

Source§

const TYPE_NAME: &'static str = "[f32; N]"

Source§

impl<const N: usize> TypeName for [f64; N]

Source§

const TYPE_NAME: &'static str = "[f64; N]"

Source§

impl<const N: usize> TypeName for [i8; N]

Source§

const TYPE_NAME: &'static str = "[i8; N]"

Source§

impl<const N: usize> TypeName for [i16; N]

Source§

const TYPE_NAME: &'static str = "[i16; N]"

Source§

impl<const N: usize> TypeName for [i32; N]

Source§

const TYPE_NAME: &'static str = "[i32; N]"

Source§

impl<const N: usize> TypeName for [i64; N]

Source§

const TYPE_NAME: &'static str = "[i64; N]"

Source§

impl<const N: usize> TypeName for [i128; N]

Source§

const TYPE_NAME: &'static str = "[i128; N]"

Source§

impl<const N: usize> TypeName for [isize; N]

Source§

const TYPE_NAME: &'static str = "[isize; N]"

Source§

impl<const N: usize> TypeName for [u8; N]

Source§

const TYPE_NAME: &'static str = "[u8; N]"

Source§

impl<const N: usize> TypeName for [u16; N]

Source§

const TYPE_NAME: &'static str = "[u16; N]"

Source§

impl<const N: usize> TypeName for [u32; N]

Source§

const TYPE_NAME: &'static str = "[u32; N]"

Source§

impl<const N: usize> TypeName for [u64; N]

Source§

const TYPE_NAME: &'static str = "[u64; N]"

Source§

impl<const N: usize> TypeName for [u128; N]

Source§

const TYPE_NAME: &'static str = "[u128; N]"

Source§

impl<const N: usize> TypeName for [usize; N]

Source§

const TYPE_NAME: &'static str = "[usize; N]"

Implementors§