trait
Host
pub trait Host { … }A rendering backend.
Required methods
apply
fn apply(&mut self, patches: &[Patch], tree: &[VNode])Apply patches; tree is the complete new tree, for hosts that need to look at whole subtrees (e.g. to redraw a canvas).
Provided methods
report_error
fn report_error(&mut self, _error: &RenderError)Called when a re-render fails (the previous tree stays in place).