macro_rules! make_widget {
($type_id:path) => { ... };
}
Expand description
Helper to manually create a WidgetComponent
struct from a function.
Users will not usually need this macro, but it can be useful in some advanced cases or where you
don’t want to use the [widget
] macro.