pub enum UnitOp {
ReadSlots,
ReadSlotData {
module: Module,
slot: u8,
},
UploadUnit {
module: Module,
slot: u8,
data: Vec<u8>,
},
ClearSlot {
module: Module,
slot: u8,
},
ReadGlobal,
ReadTuning,
}Expand description
A logue operation on user slots and settings.
Variants§
ReadSlots
The status of every user slot.
ReadSlotData
UploadUnit
Load TABLE 7 slot data (u32 size, u32 checksum, blob).
ClearSlot
ReadGlobal
ReadTuning
The 6 user scales and 6 user octaves.
Trait Implementations§
impl Eq for UnitOp
impl StructuralPartialEq for UnitOp
Auto Trait Implementations§
impl Freeze for UnitOp
impl RefUnwindSafe for UnitOp
impl Send for UnitOp
impl Sync for UnitOp
impl Unpin for UnitOp
impl UnsafeUnpin for UnitOp
impl UnwindSafe for UnitOp
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.