pub enum FusedExpr {
Source(usize),
BinaryOp {
op: FusedBinOp,
left: Box<FusedExpr>,
right: Box<FusedExpr>,
},
UnaryOp {
op: FusedUnaryOp,
operand: Box<FusedExpr>,
},
Scalar(f64),
}Expand description
A fused expression tree representing composed element-wise operations.
Variants§
Source(usize)
Reference to an input source array (index into sources list)
BinaryOp
Binary operation on two sub-expressions
UnaryOp
Unary operation on a sub-expression
Scalar(f64)
Scalar constant
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FusedExpr
impl RefUnwindSafe for FusedExpr
impl Send for FusedExpr
impl Sync for FusedExpr
impl Unpin for FusedExpr
impl UnwindSafe for FusedExpr
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