Enum chalk_engine::Literal [] [src]

pub enum Literal<C: Context, I: InferenceContext<C>> {
    Positive(I::GoalInEnvironment),
    Negative(I::GoalInEnvironment),
}

Either A or ~A, where A is a Env |- Goal.

Variants

Trait Implementations

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

[src]

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

1.0.0
[src]

This method tests for !=.

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

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

[src]

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

1.3.0
[src]

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

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C, I> Send for Literal<C, I> where
    <I as InferenceContext<C>>::GoalInEnvironment: Send

impl<C, I> Sync for Literal<C, I> where
    <I as InferenceContext<C>>::GoalInEnvironment: Sync