pub trait StickyEventType: ToOwned {
const TYPE: EventType;
// Required method
unsafe fn from_event(event: Event) -> Self::Owned;
}
Required Associated Constants§
Required Methods§
unsafe fn from_event(event: Event) -> Self::Owned
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.