[][src]Struct screwsat::solver::Lit

pub struct Lit(_);

Implementations

impl Lit[src]

pub fn new(var: u32, positive: bool) -> Lit[src]

pub fn var(self) -> Var[src]

pub fn pos(&self) -> bool[src]

pub fn neg(&self) -> bool[src]

Trait Implementations

impl Clone for Lit[src]

impl Copy for Lit[src]

impl Debug for Lit[src]

impl Default for Lit[src]

impl Eq for Lit[src]

impl From<i32> for Lit[src]

impl Hash for Lit[src]

impl Not for Lit[src]

type Output = Self

The resulting type after applying the ! operator.

impl Ord for Lit[src]

impl PartialEq<Lit> for Lit[src]

impl PartialOrd<Lit> for Lit[src]

impl StructuralEq for Lit[src]

impl StructuralPartialEq for Lit[src]

Auto Trait Implementations

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.