Struct cop::lean::Contrapositive[][src]

pub struct Contrapositive<P, C, V> {
    pub head: P,
    pub args: Args<C, V>,
    pub rest: Clause<Lit<P, C, V>>,
    pub vars: Option<V>,
}

Fields

head: Pargs: Args<C, V>rest: Clause<Lit<P, C, V>>vars: Option<V>

Trait Implementations

impl<P: Debug, C: Debug, V: Debug> Debug for Contrapositive<P, C, V>[src]

impl<P: Display, C: Display, V: Display> Display for Contrapositive<P, C, V>[src]

impl<P: Clone + Eq + Hash, C, V> FromIterator<Contrapositive<P, C, V>> for Db<P, C, V>[src]

Auto Trait Implementations

impl<P, C, V> RefUnwindSafe for Contrapositive<P, C, V> where
    C: RefUnwindSafe,
    P: RefUnwindSafe,
    V: RefUnwindSafe

impl<P, C, V> Send for Contrapositive<P, C, V> where
    C: Send,
    P: Send,
    V: Send

impl<P, C, V> Sync for Contrapositive<P, C, V> where
    C: Sync,
    P: Sync,
    V: Sync

impl<P, C, V> Unpin for Contrapositive<P, C, V> where
    C: Unpin,
    P: Unpin,
    V: Unpin

impl<P, C, V> UnwindSafe for Contrapositive<P, C, V> where
    C: UnwindSafe,
    P: UnwindSafe,
    V: 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> ToString for T where
    T: Display + ?Sized
[src]

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.