Struct weresocool_ast::operations::PointOp
source · pub struct PointOp {Show 14 fields
pub fm: Rational64,
pub fa: Rational64,
pub pm: Rational64,
pub pa: Rational64,
pub g: Rational64,
pub l: Rational64,
pub attack: Rational64,
pub decay: Rational64,
pub asr: ASR,
pub portamento: Rational64,
pub reverb: Option<Rational64>,
pub osc_type: OscType,
pub names: NameSet,
pub filters: Vec<BiquadFilterDef>,
}
Fields§
§fm: Rational64
Frequency Multiply
fa: Rational64
Frequency Add
pm: Rational64
Pan Multiply
pa: Rational64
Pan Add
g: Rational64
Gain Multiply
l: Rational64
Length Multiply
attack: Rational64
Attack Length
decay: Rational64
Decay Length
asr: ASR
Attack/Sustain/Release Type
portamento: Rational64
Portamento Length
reverb: Option<Rational64>
Reverb Multiplier
osc_type: OscType
Oscillator Type
names: NameSet
Set of Names
filters: Vec<BiquadFilterDef>
Filters
Implementations§
Trait Implementations§
source§impl MulAssign<PointOp> for PointOp
impl MulAssign<PointOp> for PointOp
source§fn mul_assign(&mut self, other: PointOp)
fn mul_assign(&mut self, other: PointOp)
Performs the
*=
operation. Read moresource§impl Ord for PointOp
impl Ord for PointOp
source§impl PartialEq<PointOp> for PointOp
impl PartialEq<PointOp> for PointOp
source§impl PartialOrd<PointOp> for PointOp
impl PartialOrd<PointOp> for PointOp
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 Eq for PointOp
impl StructuralEq for PointOp
impl StructuralPartialEq for PointOp
Auto Trait Implementations§
impl RefUnwindSafe for PointOp
impl Send for PointOp
impl Sync for PointOp
impl Unpin for PointOp
impl UnwindSafe for PointOp
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.