pub trait EventExt {
// Required methods
fn actions(&self) -> &[Action] ⓘ;
fn widget_actions(&self) -> impl Iterator<Item = &WidgetAction>;
}Required Methods§
Sourcefn actions(&self) -> &[Action] ⓘ
fn actions(&self) -> &[Action] ⓘ
Returns &[Action] (either the event’s actions or an empty fallback).
Sourcefn widget_actions(&self) -> impl Iterator<Item = &WidgetAction>
fn widget_actions(&self) -> impl Iterator<Item = &WidgetAction>
Filtered iterator over widget actions.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.