[][src]Enum minisat::Bool

pub enum Bool {
    Const(bool),
    Lit(Lit),
}

Boolean value, either a constant (Bool::Const) or a literal (Bool::Lit). Create values by creating new variables (Solver::new_lit()) or from a constant boolean (true.into()).

Variants

Const(bool)
Lit(Lit)

Trait Implementations

impl ModelEq for Bool[src]

impl ModelOrd for Bool[src]

impl<'a> ModelValue<'a> for Bool[src]

type T = bool

impl From<bool> for Bool[src]

impl Clone for Bool[src]

impl Copy for Bool[src]

impl Eq for Bool[src]

impl PartialEq<Bool> for Bool[src]

impl Debug for Bool[src]

impl Not for Bool[src]

type Output = Bool

The resulting type after applying the ! operator.

impl StructuralPartialEq for Bool[src]

impl StructuralEq for Bool[src]

Auto Trait Implementations

impl !Send for Bool

impl !Sync for Bool

impl Unpin for Bool

impl UnwindSafe for Bool

impl RefUnwindSafe for Bool

Blanket Implementations

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

impl<T> From<T> for 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.

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]