pub type OnToggleCallbackType = Option<Box<dyn FnMut(&mut CheckboxWidget, &[WidgetContainer], &[LayoutContainer], bool)>>;Expand description
This is the callback type that is used when an on_toggle callback is triggered from this
Widget.
Aliased Type§
pub enum OnToggleCallbackType {
None,
Some(Box<dyn FnMut(&mut CheckboxWidget, &[WidgetContainer], &[LayoutContainer], bool)>),
}Variants§
None
No value.
Some(Box<dyn FnMut(&mut CheckboxWidget, &[WidgetContainer], &[LayoutContainer], bool)>)
Some value of type T.