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

Trait Implementations

impl<C: Context> PartialEq for Literal<C>
[src]

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

This method tests for !=.

impl<C: Context> Eq for Literal<C>
[src]

impl<C: Context> Hash for Literal<C>
[src]

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

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

impl<C: Clone + Context> Clone for Literal<C> where
    C::GoalInEnvironment: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug + Context> Debug for Literal<C> where
    C::GoalInEnvironment: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C> Send for Literal<C> where
    <C as Context>::GoalInEnvironment: Send

impl<C> Sync for Literal<C> where
    <C as Context>::GoalInEnvironment: Sync