pub trait Enumerator2: Op2 {
// Provided method
fn enumerate(
&self,
this: &'static Op2Enum,
exec: &'static Executor,
nt: [usize; 2],
) -> Result<(), ()> { ... }
}
Expand description
An enumerator for a specific production rule.
Provided Methods§
fn enumerate( &self, this: &'static Op2Enum, exec: &'static Executor, nt: [usize; 2], ) -> Result<(), ()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.