Enum glicol_synth::GlicolPara
source · pub enum GlicolPara {
Show 14 variants
Number(f32),
Bool(bool),
NumberList(Vec<f32>),
Reference(String),
SampleSymbol(String),
Symbol(String),
Sequence(Vec<(f32, GlicolPara)>),
Pattern(Vec<(GlicolPara, f32)>, f32),
Event(Vec<(GlicolPara, f32)>),
Points(Vec<(GlicolPara, GlicolPara)>),
Time(Vec<GlicolPara>),
Bar(f32),
Second(f32),
Millisecond(f32),
}
Variants§
Number(f32)
Bool(bool)
NumberList(Vec<f32>)
Reference(String)
SampleSymbol(String)
Symbol(String)
Sequence(Vec<(f32, GlicolPara)>)
Pattern(Vec<(GlicolPara, f32)>, f32)
Event(Vec<(GlicolPara, f32)>)
Points(Vec<(GlicolPara, GlicolPara)>)
Time(Vec<GlicolPara>)
Bar(f32)
Second(f32)
Millisecond(f32)
Trait Implementations§
source§impl Clone for GlicolPara
impl Clone for GlicolPara
source§fn clone(&self) -> GlicolPara
fn clone(&self) -> GlicolPara
Returns a copy 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 GlicolPara
impl Debug for GlicolPara
source§impl PartialEq<GlicolPara> for GlicolPara
impl PartialEq<GlicolPara> for GlicolPara
source§fn eq(&self, other: &GlicolPara) -> bool
fn eq(&self, other: &GlicolPara) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GlicolPara> for GlicolPara
impl PartialOrd<GlicolPara> for GlicolPara
source§fn partial_cmp(&self, other: &GlicolPara) -> Option<Ordering>
fn partial_cmp(&self, other: &GlicolPara) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more