Type Alias TimerCallbackType

Source
pub type TimerCallbackType = Option<Box<dyn FnMut(&mut TimerWidget, &[WidgetContainer], &[LayoutContainer])>>;
Expand description

This is the callback type that is used when an on_timeout callback is triggered from this Widget.

Aliased Type§

pub enum TimerCallbackType {
    None,
    Some(Box<dyn FnMut(&mut TimerWidget, &[WidgetContainer], &[LayoutContainer])>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.