Struct relm::RemoteRelm
[−]
[src]
pub struct RemoteRelm<WIDGET: Widget> { /* fields omitted */ }
Handle to the tokio event loop, to be used from the GTK+ thread.
Methods
impl<WIDGET: Widget> RemoteRelm<WIDGET>
[src]
fn model(&self) -> &Arc<Mutex<WIDGET::Model>>
Get the shared model.
fn stream(&self) -> &EventStream<WIDGET::Msg>
Get the event stream of the widget. This is used internally by the library.
Trait Implementations
impl<WIDGET: Clone + Widget> Clone for RemoteRelm<WIDGET> where
WIDGET::Model: Clone,
WIDGET::Msg: Clone,
[src]
WIDGET::Model: Clone,
WIDGET::Msg: Clone,
fn clone(&self) -> RemoteRelm<WIDGET>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more