macro_rules! easy_terminated {
(
@($punct:ty)
$(#[$meta:meta])*
$vis:vis struct $name:ident {
$($(#[$fmeta:meta])* $fvis:vis $fname:ident : $ftype:ty),*
$(,)?
}
) => { ... };
}Expand description
Defines structure and implements Parse for it.
Fields will be parsed in any order separated by specified punctuation. Parsing continues until the end of this parse stream.