Macro kidou::orbit::fields_struct [−][src]
macro_rules! fields_struct {
($(#[$attr : meta]) * $vis : vis struct $name :
ident($type : ty, $expr : expr)
{ $(#[$field_doc : meta] $field : ident,) * }) => { ... };
}
Expand description
Create a struct with a common fields type, a default initializer, and a method to get fields as static string slices