Trait IsEventData

Source
pub trait IsEventData {
    const TYPE: EventType;
}

Required Associated Constants§

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§

Source§

impl IsEventData for EventCtrl

Source§

const TYPE: EventType = EventType::Ctrl

Source§

impl IsEventData for EventFrameSync

Source§

const TYPE: EventType = EventType::FrameSync

Source§

impl IsEventData for EventMotionDet

Source§

const TYPE: EventType = EventType::MotionDet

Source§

impl IsEventData for EventSrcChange

Source§

const TYPE: EventType = EventType::SourceChange

Source§

impl IsEventData for EventVsync

Source§

const TYPE: EventType = EventType::Vsync