Struct rmididings::proc::Panic [−][src]
pub struct Panic();
Expand description
Send MIDI panic
Sends all notes off (CC#123) and sustain off (CC#64) on all channels.
Note that, in contrast to mididings, the events are subject to port selection, so if you have multiple ports, send multiple MIDI panic events (one to each port).
Examples
let generator = Panic(); let mut evs = EventStream::empty(); generator.run(&mut evs); assert_eq!(evs.len(), 32);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Panic
impl UnwindSafe for Panic