Skip to main content

Class

Trait Class 

Source
pub trait Class: Sized {
    type Interface: Interface;

    // Required method
    fn static_vmt() -> &'static Vmt<Self::Interface>;
}

Required Associated Types§

Required Methods§

Source

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".

Implementors§