Trait relm::WidgetTest[][src]

pub trait WidgetTest: Widget {
    type Streams;
    type Widgets;
    fn get_streams(&self) -> Self::Streams;
fn get_widgets(&self) -> Self::Widgets; }

Trait implemented by the generator to ease the creation of tests of relm widgets using the view! macro.

Associated Types

type Streams[src]

Represents the structure holding all the StreamHandles. Useful for tests.

type Widgets[src]

Represents the structure holding all the widgets. Useful for tests.

Loading content...

Required methods

fn get_streams(&self) -> Self::Streams[src]

Get the structure containing all the StreamHandles. Useful for tests.

fn get_widgets(&self) -> Self::Widgets[src]

Get the structure containing all the widgets. Useful for tests.

Loading content...

Implementors

Loading content...