pub trait OutputDevice: Device {
// Required method
fn set_output_handler<F>(&mut self, handler: F) -> Result<()>
where F: Fn(Frame<'_>) -> Result<()> + Send + Sync + 'static;
}Required Methods§
fn set_output_handler<F>(&mut self, handler: F) -> Result<()>
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.