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