Enum guiver::widget::WidgetEvent
source · [−]pub enum WidgetEvent {
Clicked(WidgetId),
GotFocus(WidgetId),
LostFocus(WidgetId),
ValueChanged(WidgetId, Box<dyn Any>),
}
Expand description
An event generated by a widget.
Variants
Clicked(WidgetId)
GotFocus(WidgetId)
LostFocus(WidgetId)
ValueChanged(WidgetId, Box<dyn Any>)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WidgetEvent
impl !Send for WidgetEvent
impl !Sync for WidgetEvent
impl Unpin for WidgetEvent
impl !UnwindSafe for WidgetEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more