macro_rules! help {
(
$( $section:expr => {
$(
$desc:expr => [ $( $key:expr ),+ ] $( ; observation => $obs:expr )? ,
)*
} )*
) => { ... };
}
Expand description
Macro to create a vector of HelpSection
from a list of sections and items.
Just a convenience macro to avoid writing the entire tree of HelpSection
s and HelpItem
s
repeatedly.