Trait IntoBoot

Source
pub trait IntoBoot<State, Message> {
    // Required method
    fn into_boot(self) -> (State, Task<Message>);
}
Expand description

The initial state of some Application.

Required Methods§

Source

fn into_boot(self) -> (State, Task<Message>)

Turns some type into the initial state of some Application.

Implementations on Foreign Types§

Source§

impl<State, Message> IntoBoot<State, Message> for (State, Task<Message>)

Source§

fn into_boot(self) -> (State, Task<Message>)

Implementors§

Source§

impl<State, Message> IntoBoot<State, Message> for State