Skip to main content

Type

Trait Type 

Source
pub trait Type {
    // Required method
    fn type_id(&self) -> usize;
}

Required Methods§

Source

fn type_id(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§