Enum chalk_engine::Literal
[−]
[src]
pub enum Literal<C: Context> { Positive(C::GoalInEnvironment), Negative(C::GoalInEnvironment), }
Either A or ~A, where A is a Env |- Goal.
Variants
Positive(C::GoalInEnvironment)Negative(C::GoalInEnvironment)
Trait Implementations
impl<C: Context> PartialEq for Literal<C>[src]
fn eq(&self, other: &Literal<C>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl<C: Context> Eq for Literal<C>[src]
impl<C: Context> Hash for Literal<C>[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<C: Clone + Context> Clone for Literal<C> where
C::GoalInEnvironment: Clone,
C::GoalInEnvironment: Clone, [src]
C::GoalInEnvironment: Clone,
C::GoalInEnvironment: Clone,
fn clone(&self) -> Literal<C>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<C: Debug + Context> Debug for Literal<C> where
C::GoalInEnvironment: Debug,
C::GoalInEnvironment: Debug, [src]
C::GoalInEnvironment: Debug,
C::GoalInEnvironment: Debug,
Auto Trait Implementations
impl<C> Send for Literal<C> where
<C as Context>::GoalInEnvironment: Send,
<C as Context>::GoalInEnvironment: Send,
impl<C> Sync for Literal<C> where
<C as Context>::GoalInEnvironment: Sync,
<C as Context>::GoalInEnvironment: Sync,