Trait EventDescriptor
pub trait EventDescriptor {
type EventTy: Into<Event> + JsCast;
const NAME: &'static str;
}
Expand description
Description of a type of event.
Required Associated Constants§
Required Associated Types§
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.