Trait TypeName

Source
pub trait TypeName: Register {
    // Required method
    fn get_type_name() -> Cow<'static, str>;
}

Required Methods§

Source

fn get_type_name() -> Cow<'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 get_type_name() -> Cow<'static, str>

Source§

impl TypeName for bool

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for f32

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for f64

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for i8

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for i16

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for i32

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for i64

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for isize

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for str

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for u8

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for u16

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for u32

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for u64

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for usize

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for String

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for ID

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl TypeName for Upload

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl<T> TypeName for &T
where T: TypeName + 'static,

Source§

fn get_type_name() -> Cow<'static, str>

Source§

impl<T: OutputTypeName + Clone + 'static> TypeName for Cow<'_, T>

Source§

fn get_type_name() -> Cow<'static, str>

Implementors§

Source§

impl<I> TypeName for Instance<'_, I>
where I: Interface + 'static + ?Sized,