pub trait HasBool { // Required methods fn get_bool(&self) -> bool; fn set_bool(&mut self, state: bool) -> Action; }
Read / write a boolean value
The value true means checked, selected or toggled on.
true
Get the widget’s state
Set the widget’s state