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