pub trait EventArgs: AnyEventArgs + Clone {
// Provided method
fn handle<F, R>(&self, handler: F) -> Option<R>
where F: FnOnce(&Self) -> R { ... }
}
Expand description
Event<A>
arguments.
See AnyEventArgs
for the object safe part of event arguments.
Provided Methods§
Object Safety§
This trait is not object safe.