pub unsafe trait Inspect<T> {
// Required method
fn inspect() -> T;
}Expand description
Inspect type to get a T.
This is used to get things like type IDs.
§Safety
The returned T for a Self must always be the same.
Required 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.