Enum ai_kit::constraints::SolveResult [] [src]

pub enum SolveResult<T: ConstraintValue> {
    Conflict,
    Partial(Bindings<T>),
    Success(Bindings<T>),
}

Variants

A conflict was found, no solution possible

Incomplete solution; could not solve all constraints

Successful solution

Methods

impl<T: ConstraintValue> SolveResult<T>
[src]

Trait Implementations

impl<T: Clone + ConstraintValue> Clone for SolveResult<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + ConstraintValue> Debug for SolveResult<T>
[src]

Formats the value using the given formatter.

impl<T: Eq + ConstraintValue> Eq for SolveResult<T>
[src]

impl<T: PartialEq + ConstraintValue> PartialEq for SolveResult<T>
[src]

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

This method tests for !=.

impl<T: ConstraintValue> Display for SolveResult<T>
[src]

Formats the value using the given formatter. Read more