pub enum Body {
Show 25 variants
Const(C64),
Line,
Index(IndexId),
Keyed {
seed: u64,
of: Part,
},
Param(ParamId),
Node(NodeId),
Add(Vec<Part>),
Mul(Vec<Part>),
Div(Part, Part),
Pow(Part, i32),
Apply(Unary, Part),
Fold(Fold, Vec<Part>),
Delta {
at: Part,
order: u16,
},
Pv(Part),
Shift {
by: f64,
of: Part,
},
Warp {
at: Part,
of: Part,
},
Deriv {
order: u16,
of: Part,
},
Crop {
of: Part,
l: Edge,
r: Edge,
rise: f64,
fall: f64,
},
Join(Vec<Part>),
Channel(Part, u8),
Rational(Rational),
Series(Box<Series>),
Modal(ModalBank),
Run(Box<Run>),
Banded(Box<Banded>),
}Variants§
Const(C64)
Line
Index(IndexId)
Keyed
The unit-interval hash rand folds to, and the phase a noise line reads.
Param(ParamId)
Node(NodeId)
Add(Vec<Part>)
Mul(Vec<Part>)
Div(Part, Part)
Pow(Part, i32)
Apply(Unary, Part)
Fold(Fold, Vec<Part>)
Delta
Pv(Part)
Shift
Warp
of read at the time at names, which is a shift only where at is t plus a
constant.
Deriv
Crop
rise and fall are raised-cosine shoulders inside [l, r); zero is a hard edge.
Join(Vec<Part>)
Channel(Part, u8)
Rational(Rational)
Series(Box<Series>)
Modal(ModalBank)
Run(Box<Run>)
Banded(Box<Banded>)
Trait Implementations§
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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