pub trait Etable<H> {
type State;
type Trap;
// Required method
fn eval(
&self,
machine: &mut Machine<Self::State>,
handle: &mut H,
position: usize,
) -> Control<Self::Trap>;
}
Expand description
An etable “set” that can be evaluated. This is the generic trait to support
all types of dispatching strategies (via match
or an actual etable array).