Function relm::run
[−]
[src]
pub fn run<WIDGET>() -> Result<(), ()> where
WIDGET: Widget + 'static,
WIDGET::Model: Send,
WIDGET::Msg: Send,
Create the specified relm Widget
and run the main event loops.
/// `Win` is a relm `Widget`. relm::run::<Win>();