[][src]Type Definition pushrod::widgets::toggle_button_widget::OnToggleCallbackType

type OnToggleCallbackType = Option<Box<dyn FnMut(&mut ToggleButtonWidget, &[WidgetContainer], &[LayoutContainer], bool)>>;

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