pub type FunctionNoParametersType = Option<Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer])>>;Expand description
This is an FnMut type that takes no additional parameters, returning a mutable reference
to the current Widget, and borrowing the WidgetContainer and LayoutContainer lists.
Aliased Type§
pub enum FunctionNoParametersType {
None,
Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer])>),
}Variants§
None
No value.
Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer])>)
Some value of type T.