[][src]Trait delorean::App

pub trait App: Default + 'static {
    type BlackBox;
    type Output: 'static;
    type Message: 'static;
    fn __hydrate(&mut self, addr: A<Self>) -> Return<Self::Output>;
fn __dispatch(&mut self, msg: Self::Message, addr: A<Self>); fn __render(&mut self, _addr: A<Self>) { ... } }

App are object which encapsulate state and behavior

App communicate exclusively by directional exchanging messages.

Associated Types

type BlackBox

type Output: 'static

type Message: 'static

Loading content...

Required methods

fn __hydrate(&mut self, addr: A<Self>) -> Return<Self::Output>

TODO

fn __dispatch(&mut self, msg: Self::Message, addr: A<Self>)

TODO

Loading content...

Provided methods

fn __render(&mut self, _addr: A<Self>)

TODO

Loading content...

Implementors

Loading content...