pub type FunctionClickParametersType = Option<Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer], u8, u8, bool)>>;Expand description
This is an FnMut that takes a button click ID, the number of clicks, the click state (true indicating
the click was pressed, false otherwise), returning a mutable reference
to the current Widget, and borrowing the WidgetContainer and LayoutContainer lists.
Aliased Type§
pub enum FunctionClickParametersType {
None,
Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer], u8, u8, bool)>),
}Variants§
None
No value.
Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer], u8, u8, bool)>)
Some value of type T.