TypeInfo

Trait TypeInfo 

Source
pub trait TypeInfo: Sized + TypeInfoDynamic {
    const INFO: &'static Type;
}
Expand description

Static-type version of TypeInfoDynamic

Required Associated Constants§

Source

const INFO: &'static Type

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 TypeInfo for f32

Source§

const INFO: &'static Type

Source§

impl TypeInfo for f64

Source§

const INFO: &'static Type

Source§

impl TypeInfo for i8

Source§

const INFO: &'static Type

Source§

impl TypeInfo for i16

Source§

const INFO: &'static Type

Source§

impl TypeInfo for i32

Source§

const INFO: &'static Type

Source§

impl TypeInfo for i64

Source§

const INFO: &'static Type

Source§

impl TypeInfo for i128

Source§

const INFO: &'static Type

Source§

impl TypeInfo for isize

Source§

const INFO: &'static Type

Source§

impl TypeInfo for u8

Source§

const INFO: &'static Type

Source§

impl TypeInfo for u16

Source§

const INFO: &'static Type

Source§

impl TypeInfo for u32

Source§

const INFO: &'static Type

Source§

impl TypeInfo for u64

Source§

const INFO: &'static Type

Source§

impl TypeInfo for u128

Source§

const INFO: &'static Type

Source§

impl TypeInfo for usize

Source§

const INFO: &'static Type

Source§

impl TypeInfo for String

Source§

const INFO: &'static Type

Implementors§