[][src]Trait sauron::Component

pub trait Component<MSG> {
    fn create() -> Self;
fn update(&mut self, msg: MSG);
fn view(&self) -> Node<MSG>;
fn subscribe(&self); }

Required methods

fn create() -> Self

fn update(&mut self, msg: MSG)

fn view(&self) -> Node<MSG>

fn subscribe(&self)

Loading content...

Implementors

impl Component<()> for SimpleComponent[src]

Loading content...