[][src]Struct ipasir::Clause

pub struct Clause<'a> { /* fields omitted */ }

A clause from the IPASIR solver.

Methods

impl<'a> Clause<'a>[src]

pub fn len(&self) -> usize[src]

Returns the length of the clause.

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

Returns true if the clause is empty.

Note

Normally a clause should never be empty.

Important traits for LitIter<'a>
pub fn iter(&self) -> LitIter[src]

Returns an iterator over the literals of the clause.

Trait Implementations

impl<'a> From<&'a [Lit]> for Clause<'a>[src]

impl<'a, Idx> Index<Idx> for Clause<'a> where
    Idx: SliceIndex<[Lit]>, 
[src]

type Output = <[Lit] as Index<Idx>>::Output

The returned type after indexing.

Auto Trait Implementations

impl<'a> Send for Clause<'a>

impl<'a> Sync for Clause<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.