Skip to main content

widgets

Macro widgets 

Source
macro_rules! widgets {
    ($($widget:expr),* $(,)?) => { ... };
}
Expand description

Builds a Vec<Widget> from widget expressions without repeated .into() calls.

Dynamic children may still be produced with normal iterators and collect::<Vec<Widget>>(); this macro is only syntax sugar for literal child lists.