Macro presets
macro_rules! presets {
($( $(#[$doc:meta])* $konst:ident => $measure:expr, $scale:expr; )+) => { ... };
}Expand description
Declares the table: one constant per preset, and from the same list
Preset::ALL and Preset::ACCEPTED.
macro_rules! presets {
($( $(#[$doc:meta])* $konst:ident => $measure:expr, $scale:expr; )+) => { ... };
}Declares the table: one constant per preset, and from the same list
Preset::ALL and Preset::ACCEPTED.