Function relm::create_component
[−]
[src]
pub fn create_component<CHILDWIDGET, WIDGET>(
relm: &RemoteRelm<WIDGET>
) -> Component<CHILDWIDGET> where
CHILDWIDGET: Widget + 'static,
CHILDWIDGET::Model: Clone + Send,
CHILDWIDGET::Msg: Clone + DisplayVariant + Send + 'static,
WIDGET: Widget,
Create a new relm widget without adding it to an existing widget. This is useful when a relm widget is at the root of another relm widget.