Struct relm::Relm[][src]

pub struct Relm<UPDATE> where
    UPDATE: Update
{ /* fields omitted */ }

Handle event stream to send messages to the update() method.

Methods

impl<UPDATE> Relm<UPDATE> where
    UPDATE: Update
[src]

Create a new relm stream handler.

Get the event stream of this stream. This is used internally by the library.

Trait Implementations

impl<UPDATE> Clone for Relm<UPDATE> where
    UPDATE: Update
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<UPDATE> Send for Relm<UPDATE> where
    <UPDATE as Update>::Msg: Send

impl<UPDATE> Sync for Relm<UPDATE> where
    <UPDATE as Update>::Msg: Sync