Type Alias FunctionNoParametersType

Source
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§

§1.0.0

None

No value.

§1.0.0

Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer])>)

Some value of type T.