pub type OnClickedCallbackType = Option<Box<dyn FnMut(&mut TileWidget, &[WidgetContainer], &[LayoutContainer], bool)>>;Expand description
This is the callback type that is used when an on_click callback is triggered from this
Widget. Returns a flag indicating the selected state - toggled on or off.
Aliased Type§
pub enum OnClickedCallbackType {
None,
Some(Box<dyn FnMut(&mut TileWidget, &[WidgetContainer], &[LayoutContainer], bool)>),
}Variants§
None
No value.
Some(Box<dyn FnMut(&mut TileWidget, &[WidgetContainer], &[LayoutContainer], bool)>)
Some value of type T.