Trait Backend

Source
pub trait Backend<APP, MSG>
where MSG: Clone + Debug + 'static, APP: Component<MSG> + 'static,
{ // Required method fn init(app: APP) -> Rc<Self>; // Provided method fn start_render(self: &Rc<Self>) { ... } }

Required Methods§

Source

fn init(app: APP) -> Rc<Self>

Provided Methods§

Source

fn start_render(self: &Rc<Self>)

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§