Trait titik::renderer::Dispatch[][src]

pub trait Dispatch<MSG> {
    fn dispatch(&self, msg: MSG, root_node: &mut dyn Widget<MSG>);
}

A Dispatch trait which the implementing APP will update its own state based on the supplied msg.

Required methods

fn dispatch(&self, msg: MSG, root_node: &mut dyn Widget<MSG>)[src]

dispatch the msg and passed the root node for the implementing app to access it and change the state of the UI.

Loading content...

Implementors

Loading content...