Trait Evaluate

Source
pub trait Evaluate<Args>
where Self: Operator, Args: Params,
{ type Output; // Required method fn eval(&self, args: Args) -> Self::Output; }

Required Associated Types§

Required Methods§

Source

fn eval(&self, args: Args) -> Self::Output

Implementors§

Source§

impl<O, P, A, B> Evaluate<P> for O
where O: BinOp<A, B> + Operand<Kind = Binary>, P: BinaryParams<Lhs = A, Rhs = B>,

Source§

type Output = <O as BinOp<A, B>>::Output

Source§

impl<P, T> Evaluate<P> for Product
where T: Clone + Product, P: Params<Pattern = Vec<T>>,