pub trait DType:
'static
+ IsType
+ TypeOf {
// Provided methods
fn type_id(&self) -> TypeId { ... }
fn type_name(&self) -> &'static str { ... }
}Expand description
DType is a trait designed to provide additional information regarding the type of a
particular value.
Provided Methods§
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.