Skip to main content

Interface

Trait Interface 

Source
pub trait Interface: Send {
    // Required method
    fn get_current_cpu(&mut self) -> Box<dyn InterfaceCPU>;
}

Required Methods§

Source

fn get_current_cpu(&mut self) -> Box<dyn InterfaceCPU>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§