pub trait IntoEventKind: Event {
// Required method
fn event_kind() -> EventKind
where Self: Sized + 'static;
}
Expand description
A trait on top of the Event
trait
Required Methods§
Sourcefn event_kind() -> EventKindwhere
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
What kind of event this type is