Type Alias FunctionPointParametersType

Source
pub type FunctionPointParametersType = Option<Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer], Vec<i32>)>>;
Expand description

This is an FnMut that takes a Point as a Vec<i32> of points: X and Y, returning a mutable reference to the current Widget, and borrowing the WidgetContainer and LayoutContainer lists.

Aliased Type§

pub enum FunctionPointParametersType {
    None,
    Some(Box<dyn FnMut(&mut dyn Widget, &[WidgetContainer], &[LayoutContainer], Vec<i32>)>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.