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 for GlicolPara
impl PartialEq 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 for GlicolPara
impl PartialOrd 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 moreimpl StructuralPartialEq for GlicolPara
Auto Trait Implementations§
impl Freeze for GlicolPara
impl RefUnwindSafe for GlicolPara
impl Send for GlicolPara
impl Sync for GlicolPara
impl Unpin for GlicolPara
impl UnwindSafe for GlicolPara
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