[][src]Struct ommui_relm_widgets::parameter_query::W

pub struct W<TR: 'static + XTr + Clone> { /* fields omitted */ }

The widget.

Trait Implementations

impl<TR: 'static + XTr + Clone> Widget for W<TR>[src]

type Root = Box

The type of the root widget.

fn init_view(&mut self)[src]

Update the view after it is initially created. This method is only useful when using the #[widget] attribute, because when not using it, you can use the view() method instead. Read more

fn on_add<W>(&self, _parent: W) where
    W: IsA<Widget> + IsA<Object>, 
[src]

Method called when the widget is added to its parent.

fn parent_id() -> Option<&'static str>[src]

Get the parent ID. This is useful for custom Container implementation: when you implement the Container::add_widget(), you might want to insert widgets elsewhere depending of this id. Read more

fn run(model_param: Self::ModelParam) -> Result<(), ()> where
    Self: 'static, 
[src]

Create the window from this widget and start the main loop.

impl<TR: XTr + Clone> Update for W<TR>[src]

type Model = Param<TR>

The type of the model.

type ModelParam = Param<TR>

The type of the parameter of the model() function used to initialize the model.

type Msg = Msg

The type of the messages sent to the update() method.

fn subscriptions(&mut self, _relm: &Relm<Self>)

Connect the subscriptions. Subscriptions are Future/Stream that are spawn when the object is created. Read more

Auto Trait Implementations

impl<TR> !Send for W<TR>

impl<TR> !Sync for W<TR>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T