pub struct Event {
pub origin: Origin,
pub category: Category,
pub subject: String,
pub value: String,
pub coalesce: Option<u64>,
pub redundant: bool,
pub raw: Vec<u8>,
}Expand description
A human-readable description of one MIDI message.
Fields§
§origin: Origin§category: Category§subject: StringWhat changed, e.g. "Mar J800 · GAIN".
value: StringThe new value, e.g. "64".
coalesce: Option<u64>Consecutive events with the same key may be merged into one log row (knob sweeps).
redundant: boolThe message didn’t change the tracked state (e.g. the CC burst after a preset change repeating values already known from the preset record, or values for unused param slots).
raw: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more