pub struct Midi2Controller {
pub bank: u8,
pub registered: bool,
pub index: u8,
}Expand description
MIDI 2.0 Controller identifier.
Represents a MIDI 2.0 controller which can be either a Registered Parameter or an Assignable Controller, identified by bank and index.
Fields§
§bank: u8Controller bank (0-127).
registered: boolTrue for Registered Parameter, false for Assignable Controller.
index: u8Controller index within the bank.
Implementations§
Trait Implementations§
Source§impl Clone for Midi2Controller
impl Clone for Midi2Controller
Source§fn clone(&self) -> Midi2Controller
fn clone(&self) -> Midi2Controller
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Midi2Controller
impl Debug for Midi2Controller
Source§impl Default for Midi2Controller
impl Default for Midi2Controller
Source§fn default() -> Midi2Controller
fn default() -> Midi2Controller
Returns the “default value” for a type. Read more
Source§impl PartialEq for Midi2Controller
impl PartialEq for Midi2Controller
impl Copy for Midi2Controller
impl Eq for Midi2Controller
impl StructuralPartialEq for Midi2Controller
Auto Trait Implementations§
impl Freeze for Midi2Controller
impl RefUnwindSafe for Midi2Controller
impl Send for Midi2Controller
impl Sync for Midi2Controller
impl Unpin for Midi2Controller
impl UnwindSafe for Midi2Controller
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