Skip to main content

Eval

Trait Eval 

Source
pub trait Eval {
    type Elem: Send;

    // Required methods
    fn leaf(&self, terminal: Symbol, values: u32) -> Self::Elem;
    fn product(&self, action: u32, list: Vec<Self::Elem>) -> Self::Elem;
}

Required Associated Types§

Required Methods§

Source

fn leaf(&self, terminal: Symbol, values: u32) -> Self::Elem

Source

fn product(&self, action: u32, list: Vec<Self::Elem>) -> Self::Elem

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§