Type Definition nih_plug::midi::PluginNoteEvent

source ·
pub type PluginNoteEvent<P> = NoteEvent<<P as Plugin>::SysExMessage>;
Expand description

A plugin-specific note event type.

The reason why this is defined like this instead of parameterizing NoteEvent with P`` is because deriving trait bounds requires all of the plugin's generic parameters to implement those traits. And we can't require Pto implement things likeClone`.