pub enum UnitEvent {
Slot {
module: Module,
slot: u8,
header: Option<Vec<u8>>,
},
SlotData {
module: Module,
slot: u8,
data: Vec<u8>,
},
Global(Vec<u8>),
Scale(u8, Vec<u8>),
Octave(u8, Vec<u8>),
Done,
Failed(OpError),
}Expand description
What UnitOps report, in order; each op ends with Done or
Failed.
Variants§
Trait Implementations§
impl Eq for UnitEvent
impl StructuralPartialEq for UnitEvent
Auto Trait Implementations§
impl Freeze for UnitEvent
impl RefUnwindSafe for UnitEvent
impl Send for UnitEvent
impl Sync for UnitEvent
impl Unpin for UnitEvent
impl UnsafeUnpin for UnitEvent
impl UnwindSafe for UnitEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.