Struct relm::ContainerComponent [] [src]

pub struct ContainerComponent<WIDGET: Container + Widget> {
    pub container: WIDGET::Container,
    pub containers: WIDGET::Containers,
    // some fields omitted
}

Struct for relm containers to add GTK+ and relm Widgets.

Fields

The default container of this component.

Additional containers used for multi-containers. This can be () if not needed.

Methods

impl<WIDGET: Container + Widget> ContainerComponent<WIDGET>
[src]

[src]

Add a GTK+ widget to a relm container.

[src]

Add a relm widget to a relm container.

[src]

Emit a message of the widget stream.

[src]

Get the event stream of the component. This is used internally by the library.

[src]

Get the widget of the component.

Trait Implementations

impl<WIDGET: Container + Widget> Clone for ContainerComponent<WIDGET>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<WIDGET> Send for ContainerComponent<WIDGET> where
    <WIDGET as Container>::Container: Send,
    <WIDGET as Container>::Containers: Send,
    <WIDGET as Update>::Msg: Send,
    <WIDGET as Widget>::Root: Send

impl<WIDGET> Sync for ContainerComponent<WIDGET> where
    <WIDGET as Container>::Container: Sync,
    <WIDGET as Container>::Containers: Sync,
    <WIDGET as Update>::Msg: Sync,
    <WIDGET as Widget>::Root: Sync