Struct relm_state::Relm
[−]
[src]
pub struct Relm<UPDATE: Update> { /* fields omitted */ }
Handle event stream to send messages to the update()
method.
Methods
impl<UPDATE: Update> Relm<UPDATE>
[src]
pub fn new(stream: EventStream<UPDATE::Msg>) -> Self
[src]
Create a new relm stream handler.
pub fn stream(&self) -> &EventStream<UPDATE::Msg>
[src]
Get the event stream of this stream. This is used internally by the library.