pub trait TypeId {
const TYPE_ID: [u8; 4];
}
Expand description
Provide a simple 4 byte identifier for a type.
Required Associated Constants§
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.