pub struct MacroSynth {
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub synth_params: SynthParams,
pub shape: MacroSynthOsc,
pub timbre: u8,
pub color: u8,
pub degrade: u8,
pub redux: u8,
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§synth_params: SynthParams
§shape: MacroSynthOsc
§timbre: u8
§color: u8
§degrade: u8
§redux: u8
Implementations§
Source§impl MacroSynth
impl MacroSynth
pub const MOD_OFFSET: usize = 30usize
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
pub fn human_readable_filter(&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§
Source§impl Clone for MacroSynth
impl Clone for MacroSynth
Source§fn clone(&self) -> MacroSynth
fn clone(&self) -> MacroSynth
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 MacroSynth
impl Debug for MacroSynth
Source§impl PartialEq for MacroSynth
impl PartialEq for MacroSynth
impl StructuralPartialEq for MacroSynth
Auto Trait Implementations§
impl Freeze for MacroSynth
impl RefUnwindSafe for MacroSynth
impl Send for MacroSynth
impl Sync for MacroSynth
impl Unpin for MacroSynth
impl UnwindSafe for MacroSynth
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