Enum instrument::note_freq::DynamicGenerator
[−]
[src]
pub enum DynamicGenerator { Portamento(Portamento), Constant, }
A wrapper for switching between NoteFreqGenerators at runtime.
Variants
Portamento(Portamento)
Constant
Methods
impl DynamicGenerator
[src]
fn portamento(samples: Samples) -> DynamicGenerator
Construct a default portamento.
Trait Implementations
impl Copy for DynamicGenerator
[src]
impl Clone for DynamicGenerator
[src]
fn clone(&self) -> DynamicGenerator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DynamicGenerator
[src]
impl PartialEq for DynamicGenerator
[src]
fn eq(&self, __arg_0: &DynamicGenerator) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DynamicGenerator) -> bool
This method tests for !=
.