pub trait Class: Sized {
type Interface: Interface;
// Required method
fn static_vmt() -> &'static Vmt<Self::Interface>;
}Required Associated Types§
Required Methods§
fn static_vmt() -> &'static Vmt<Self::Interface>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".