[][src]Enum tptp::syntax::Literal

pub enum Literal<'a> {
    Literal(FofFormula<'a>),
    NegatedLiteral(FofFormula<'a>),
    EqualityLiteral(FofFormula<'a>),
}

A CNF literal

Variants

Literal(FofFormula<'a>)

A literal, e.g. p(X)

NegatedLiteral(FofFormula<'a>)

A negated literal, e.g. ~p(X)

EqualityLiteral(FofFormula<'a>)

Equality literals, t = s or t != s

Trait Implementations

impl<'a> Clone for Literal<'a>[src]

impl<'a> Eq for Literal<'a>[src]

impl<'a> Ord for Literal<'a>[src]

impl<'a> PartialEq<Literal<'a>> for Literal<'a>[src]

impl<'a> PartialOrd<Literal<'a>> for Literal<'a>[src]

impl<'a> Debug for Literal<'a>[src]

impl<'a> Display for Literal<'a>[src]

impl<'a> Hash for Literal<'a>[src]

impl<'a> StructuralPartialEq for Literal<'a>[src]

impl<'a> StructuralEq for Literal<'a>[src]

Auto Trait Implementations

impl<'a> Send for Literal<'a>

impl<'a> Sync for Literal<'a>

impl<'a> Unpin for Literal<'a>

impl<'a> UnwindSafe for Literal<'a>

impl<'a> RefUnwindSafe for Literal<'a>

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

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.

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

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

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