gdk4::prelude

Trait EventKind

Source
pub unsafe trait EventKind:
    StaticType
    + FromGlibPtrFull<*mut GdkEvent>
    + 'static {
    // Required method
    fn event_types() -> &'static [EventType];
}
Expand description

A common trait implemented by the various Event types.

§Safety

The user is not supposed to implement this trait.

Required Methods§

Source

fn event_types() -> &'static [EventType]

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.

Implementors§