[][src]Trait expression::Expression

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

Loading content...

Required methods

fn evaluate(
    &self,
    variables: &[Self::Element]
) -> Result<Self::Element, ExpressionError>

Evaluates the expression with the given variables bound.

Loading content...

Implementors

Loading content...