Struct chalk_engine::ExClause [−][src]
pub struct ExClause<C: Context> { pub subst: C::Substitution, pub delayed_literals: Vec<DelayedLiteral<C>>, pub constraints: Vec<C::RegionConstraint>, pub subgoals: Vec<Literal<C>>, }
The paper describes these as A :- D | G
.
Fields
subst: C::Substitution
The substitution which, applied to the goal of our table, would yield A.
delayed_literals: Vec<DelayedLiteral<C>>
Delayed literals: things that we depend on negatively, but which have not yet been fully evaluated.
constraints: Vec<C::RegionConstraint>
Region constraints we have accumulated.
subgoals: Vec<Literal<C>>
Subgoals: literals that must be proven
Trait Implementations
impl<C: Clone + Context> Clone for ExClause<C> where
C::Substitution: Clone,
C::RegionConstraint: Clone,
[src]
impl<C: Clone + Context> Clone for ExClause<C> where
C::Substitution: Clone,
C::RegionConstraint: Clone,
fn clone(&self) -> ExClause<C>
[src]
fn clone(&self) -> ExClause<C>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<C: Debug + Context> Debug for ExClause<C> where
C::Substitution: Debug,
C::RegionConstraint: Debug,
[src]
impl<C: Debug + Context> Debug for ExClause<C> where
C::Substitution: Debug,
C::RegionConstraint: Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<C: PartialEq + Context> PartialEq for ExClause<C> where
C::Substitution: PartialEq,
C::RegionConstraint: PartialEq,
[src]
impl<C: PartialEq + Context> PartialEq for ExClause<C> where
C::Substitution: PartialEq,
C::RegionConstraint: PartialEq,
fn eq(&self, other: &ExClause<C>) -> bool
[src]
fn eq(&self, other: &ExClause<C>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExClause<C>) -> bool
[src]
fn ne(&self, other: &ExClause<C>) -> bool
This method tests for !=
.
impl<C: Eq + Context> Eq for ExClause<C> where
C::Substitution: Eq,
C::RegionConstraint: Eq,
[src]
impl<C: Eq + Context> Eq for ExClause<C> where
C::Substitution: Eq,
C::RegionConstraint: Eq,
impl<C: Hash + Context> Hash for ExClause<C> where
C::Substitution: Hash,
C::RegionConstraint: Hash,
[src]
impl<C: Hash + Context> Hash for ExClause<C> where
C::Substitution: Hash,
C::RegionConstraint: Hash,
Auto Trait Implementations
impl<C> Send for ExClause<C> where
<C as Context>::CanonicalConstrainedSubst: Send,
<C as Context>::GoalInEnvironment: Send,
<C as Context>::RegionConstraint: Send,
<C as Context>::Substitution: Send,
impl<C> Send for ExClause<C> where
<C as Context>::CanonicalConstrainedSubst: Send,
<C as Context>::GoalInEnvironment: Send,
<C as Context>::RegionConstraint: Send,
<C as Context>::Substitution: Send,
impl<C> Sync for ExClause<C> where
<C as Context>::CanonicalConstrainedSubst: Sync,
<C as Context>::GoalInEnvironment: Sync,
<C as Context>::RegionConstraint: Sync,
<C as Context>::Substitution: Sync,
impl<C> Sync for ExClause<C> where
<C as Context>::CanonicalConstrainedSubst: Sync,
<C as Context>::GoalInEnvironment: Sync,
<C as Context>::RegionConstraint: Sync,
<C as Context>::Substitution: Sync,