OutputDevice

Trait OutputDevice 

Source
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§

Source

fn set_output_handler<F>(&mut self, handler: F) -> Result<()>
where F: Fn(Frame<'_>) -> Result<()> + Send + Sync + 'static,

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.

Implementors§