pub static TOGGLE_CMD: Command
Expand description
Represents the toggle action.
ยงHandlers
-
checked
: The property toggles for no param and or sets to thebool
param or to theOption<bool>
param coercingNone
tofalse
. -
checked_opt
: The property cycles or toggles depending ontristate
for no params, otherwise it sets thebool
orOption<bool>
param. -
value
: The property toggles select/unselect the value for no params, otherwise it selects the value for paramtrue
orSome(true)
and deselects the value for paramfalse
orNone::<bool>
. Note that you can also use theSELECT_CMD
for value.