pub enum Expr {
Call {
object: String,
args: Vec<CallArg>,
},
Ref(String),
Lit(LitValue),
OutputPortAccess(OutputPortAccess),
Tuple(Vec<Expr>),
}Expand description
Expression
Variants§
Call
Object call: cycle~(440), *~(osc, 0.5), biquad~(input: osc, freq: cutoff)
Ref(String)
Variable reference: osc, freq
Lit(LitValue)
Literal value
OutputPortAccess(OutputPortAccess)
Output port access (rvalue): node_a.out[0]
Tuple(Vec<Expr>)
Tuple expression: (x, y, z) – converted to [pack]
Trait Implementations§
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Expr
impl UnwindSafe for Expr
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