macro_rules! on {
(state:$state:expr, $(|)? $( $pattern:pat_param )|+ $( if $guard: expr )? $(,)?) => { ... };
($expression:expr, $(|)? $( $pattern:pat_param )|+ $( if $guard: expr )? $(,)?) => { ... };
}Expand description
Indicates that the toggle is on.
Do not use
ⓘ
director::on!(state: Self, ..)This must be a dead lock.