Trait Engine

Source
pub trait Engine<'e> {
    // Required method
    fn eval<'p>(
        &'e self,
        store: &'e impl FactStore<'e>,
        program: &'p impl StratifiedProgram<'p>,
    ) -> Result<()>;
}

Required Methods§

Source

fn eval<'p>( &'e self, store: &'e impl FactStore<'e>, program: &'p impl StratifiedProgram<'p>, ) -> 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.

Implementors§