[][src]Trait druid::widget::widgetbox::GlobalWidgets

pub trait GlobalWidgets<D: Data + 'static + Default> {
    fn get_widgets(&self) -> &'static mut [WidgetType<D>];
fn add_widget(&self, widget: WidgetType<D>); }

Specialised Trait for handling static Widgets on embedded platforms

Required methods

fn get_widgets(&self) -> &'static mut [WidgetType<D>]

Fetch the static Widgets for the Data type

fn add_widget(&self, widget: WidgetType<D>)

Add a Widget for the Data type

Loading content...

Implementors

impl<D: Data + 'static + Default> GlobalWidgets<D> for WidgetBox<D>[src]

Default Trait will not have static Widgets

Loading content...