pub unsafe trait ObjectSubclassType {
// Required methods
fn type_data() -> NonNull<TypeData>;
fn type_() -> Type;
}
Expand description
Type methods required for an ObjectSubclass
implementation.
This is usually generated by the #[object_subclass]
attribute macro.
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.