plugin_config

Macro plugin_config 

Source
macro_rules! plugin_config {
    (
        $(#[$meta:meta])*
        pub struct $name:ident {
            $(
                $(#[$field_meta:meta])*
                pub $field:ident: $type:ty $(= $default:expr)?
            ),* $(,)?
        }
    ) => { ... };
    (@default) => { ... };
    (@default $expr:expr) => { ... };
}