pub struct MIDIOut {
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub port: u8,
pub channel: u8,
pub bank_select: u8,
pub program_change: u8,
pub custom_cc: [ControlChange; 10],
pub mods: SynthParams,
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§port: u8
§channel: u8
§bank_select: u8
§program_change: u8
§custom_cc: [ControlChange; 10]
§mods: SynthParams
Implementations§
Source§impl MIDIOut
impl MIDIOut
pub fn port_names(_ver: Version) -> &'static [&'static str]
pub fn command_name(&self, _ver: Version) -> &'static [&'static str]
pub fn destination_names(&self, _ver: Version) -> &'static [&'static str]
pub fn human_readable_port(&self) -> &'static str
pub fn write(&self, _ver: Version, w: &mut Writer)
pub fn from_reader( _ver: Version, reader: &mut Reader, number: u8, version: Version, ) -> M8Result<Self>
Trait Implementations§
impl StructuralPartialEq for MIDIOut
Auto Trait Implementations§
impl Freeze for MIDIOut
impl RefUnwindSafe for MIDIOut
impl Send for MIDIOut
impl Sync for MIDIOut
impl Unpin for MIDIOut
impl UnwindSafe for MIDIOut
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