alsa::seq

Trait EventData

Source
pub trait EventData { }
Expand description

Internal trait implemented for different event type structs (EvNote, EvCtrl, etc).

Use it through Event::get_data and Event::new.

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.

Implementations on Foreign Types§

Source§

impl EventData for ()

Source§

impl EventData for [u8; 12]

Implementors§