Skip to main content

derive_setup_data

Macro derive_setup_data 

Source
macro_rules! derive_setup_data {
    ($new_type:ident, $setup_data_type:ty) => { ... };
}
Expand description

Creates a new type that wraps the given setup data type and implements Deref to it so that factory traits can be implemented on it in external crates.