[][src]Enum chalk_engine::Literal

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: Clone + Context> Clone for Literal<C> where
    C::GoalInEnvironment: Clone,
    C::GoalInEnvironment: Clone
[src]

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

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.