Macro proc_easy::easy_attributes
source · [−]macro_rules! easy_attributes {
(
@($namespace:ident)
$(#[$meta:meta])*
$vis:vis struct $name:ident {
$( $(#[$fmeta:meta])* $fvis:vis $fname:ident : $ftype:ty),*
$(,)?
}
) => { ... };
}
Expand description
Defines struct and implement EasyAttributes
for it.
Each field’s type must implement EasyArgumentField
.