pub struct WavSynth {
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub synth_params: SynthParams,
pub shape: WavShape,
pub size: u8,
pub mult: u8,
pub warp: u8,
pub scan: u8,
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§synth_params: SynthParams
§shape: WavShape
§size: u8
§mult: u8
§warp: u8
§scan: u8
Implementations§
Source§impl WavSynth
impl WavSynth
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 Describable for WavSynth
impl Describable for WavSynth
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.
impl StructuralPartialEq for WavSynth
Auto Trait Implementations§
impl Freeze for WavSynth
impl RefUnwindSafe for WavSynth
impl Send for WavSynth
impl Sync for WavSynth
impl Unpin for WavSynth
impl UnwindSafe for WavSynth
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