Trait PublicVarType

Source
pub trait PublicVarType {
    // 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 PublicVarType for bool

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for f32

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for f64

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for i32

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for i64

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for u32

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for u64

Source§

fn type_name() -> &'static str

Source§

impl PublicVarType for String

Source§

fn type_name() -> &'static str

Implementors§