zng_wgt

Macro enable_widget_macros

source
macro_rules! enable_widget_macros {
    () => { ... };
}
Expand description

Enable widget instantiation in crates that can’t depend on the zng crate.

This must be called at the top of the crate:

// in lib.rs or main.rs
enable_widget_macros!();