pub trait Backend {
// Required methods
fn supported(&self) -> bool;
fn create(
&self,
node: u32,
sink: Sink,
window: &mut Window,
cx: &mut App,
) -> Option<Box<dyn Frame>>;
}Required Methods§
fn create( &self, node: u32, sink: Sink, window: &mut Window, cx: &mut App, ) -> Option<Box<dyn Frame>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".