macro_rules! mode_switch {
(live $name:expr, $default_on:expr) => { ... };
($name:expr, $default_on:expr) => { ... };
}Expand description
One 0|off / check / on mode (consolidation X1): an
[env_read::Mode]; unset, On when default_on and Off otherwise.
mode_switch!(live "BREP_X", default_on) reads it on every call.