Struct chalk_engine::SimplifiedAnswer[][src]

pub struct SimplifiedAnswer<C: Context> {
    pub subst: C::CanonicalConstrainedSubst,
    pub ambiguous: bool,
}

Fields

A fully instantiated version of the goal for which the query is true (including region constraints).

If this flag is set, then the answer could be neither proven nor disproven. In general, the existence of a non-empty set of delayed literals simply means the answer's status is UNKNOWN, either because the size of the answer exceeded max_size or because of a negative loop (e.g., P :- not { P }).

Trait Implementations

impl<C: Clone + Context> Clone for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug + Context> Debug for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: Debug
[src]

Formats the value using the given formatter. Read more

impl<C: PartialEq + Context> PartialEq for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: PartialEq
[src]

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

This method tests for !=.

impl<C: Eq + Context> Eq for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: Eq
[src]

impl<C: PartialOrd + Context> PartialOrd for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: PartialOrd
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<C: Ord + Context> Ord for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: Ord
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<C: Hash + Context> Hash for SimplifiedAnswer<C> where
    C::CanonicalConstrainedSubst: Hash
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<C> Send for SimplifiedAnswer<C> where
    <C as Context>::CanonicalConstrainedSubst: Send

impl<C> Sync for SimplifiedAnswer<C> where
    <C as Context>::CanonicalConstrainedSubst: Sync