Struct ai_kit::infer::InferenceEngine [] [src]

pub struct InferenceEngine<'a, T, U, A> where
    T: 'a + ConstraintValue,
    U: 'a + Unify<T>,
    A: 'a + Operation<T, U>, 
{ pub rules: Vec<(&'a String, &'a A)>, pub facts: Vec<(&'a String, &'a U)>, pub derived_facts: Vec<(String, U)>, pub pedigree: Pedigree, pub prefix: String, pub origin_cache: OriginCache, // some fields omitted }

Fields

Methods

impl<'a, T, U, A> InferenceEngine<'a, T, U, A> where
    T: 'a + ConstraintValue,
    U: 'a + Unify<T>,
    A: 'a + Operation<T, U>, 
[src]

Trait Implementations

impl<'a, T: Clone, U: Clone, A: Clone> Clone for InferenceEngine<'a, T, U, A> where
    T: 'a + ConstraintValue,
    U: 'a + Unify<T>,
    A: 'a + Operation<T, U>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T: Debug, U: Debug, A: Debug> Debug for InferenceEngine<'a, T, U, A> where
    T: 'a + ConstraintValue,
    U: 'a + Unify<T>,
    A: 'a + Operation<T, U>, 
[src]

Formats the value using the given formatter.

impl<'a, T: PartialEq, U: PartialEq, A: PartialEq> PartialEq for InferenceEngine<'a, T, U, A> where
    T: 'a + ConstraintValue,
    U: 'a + Unify<T>,
    A: 'a + Operation<T, U>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.