Trait expression::Expression [] [src]

pub trait Expression: Debug + Clone + PartialEq {
    type Element: Debug + Copy + Clone + PartialEq + PartialOrd;
    fn evaluate(
        &self,
        variables: &[Self::Element]
    ) -> Result<Self::Element, ExpressionError>; }

Associated Types

Required Methods

Evaluates the expression with the given variables bound.

Implementors