[][src]Trait relm::WidgetTest

pub trait WidgetTest: Widget {
    type Widgets;
    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 Widgets

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

Loading content...

Required methods

fn get_widgets(&self) -> Self::Widgets

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

Loading content...

Implementors

Loading content...