pub struct ExternalInst {Show 14 fields
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub synth_params: SynthParams,
pub input: u8,
pub port: u8,
pub channel: u8,
pub bank: u8,
pub program: u8,
pub cca: ControlChange,
pub ccb: ControlChange,
pub ccc: ControlChange,
pub ccd: ControlChange,
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§synth_params: SynthParams
§input: u8
§port: u8
§channel: u8
§bank: u8
§program: u8
§cca: ControlChange
§ccb: ControlChange
§ccc: ControlChange
§ccd: ControlChange
Implementations§
Source§impl ExternalInst
impl ExternalInst
pub fn command_name(&self, ver: Version) -> &'static [&'static str]
pub fn destination_names(&self, _ver: Version) -> &'static [&'static str]
Sourcepub fn filter_types(&self, _ver: Version) -> &'static [&'static str]
pub fn filter_types(&self, _ver: Version) -> &'static [&'static str]
List of all the applyable filter types for the instrument
Sourcepub fn human_readable_port(&self) -> &'static str
pub fn human_readable_port(&self) -> &'static str
Return human readable name of the port.
pub fn write(&self, ver: Version, w: &mut Writer)
pub fn from_reader( ver: Version, reader: &mut Reader, number: u8, ) -> M8Result<Self>
Trait Implementations§
Source§impl Clone for ExternalInst
impl Clone for ExternalInst
Source§fn clone(&self) -> ExternalInst
fn clone(&self) -> ExternalInst
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 ExternalInst
impl Debug for ExternalInst
Source§impl Describable for ExternalInst
impl Describable for ExternalInst
Source§fn describe<PG: ParameterGatherer>(&self, pg: PG, ver: Version) -> PG
fn describe<PG: ParameterGatherer>(&self, pg: PG, ver: Version) -> PG
Method called to describte the content of the structure in any gatherer.
Source§impl PartialEq for ExternalInst
impl PartialEq for ExternalInst
impl StructuralPartialEq for ExternalInst
Auto Trait Implementations§
impl Freeze for ExternalInst
impl RefUnwindSafe for ExternalInst
impl Send for ExternalInst
impl Sync for ExternalInst
impl Unpin for ExternalInst
impl UnwindSafe for ExternalInst
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