[][src]Struct splr::cdb::ClauseId

pub struct ClauseId {
    pub ordinal: u32,
}

Clause identifier, or clause index, starting with one. Note: ids are re-used after 'garbage collection'.

Fields

ordinal: u32

a sequence number.

Implementations

impl ClauseId[src]

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

Trait Implementations

impl ClauseIdIF for ClauseId[src]

pub fn is_lifted_lit(self) -> bool[src]

return true if the clause is generated from a literal by Eliminator.

impl Clone for ClauseId[src]

impl Copy for ClauseId[src]

impl Debug for ClauseId[src]

impl Default for ClauseId[src]

pub fn default() -> Self[src]

return the default empty clause, used in a reason slot or no conflict path.

impl Display for ClauseId[src]

impl Eq for ClauseId[src]

impl From<ClauseId> for Lit[src]

impl From<Lit> for ClauseId[src]

impl From<usize> for ClauseId[src]

impl Index<&'_ ClauseId> for ClauseDB[src]

type Output = Clause

The returned type after indexing.

impl Index<ClauseId> for ClauseDB[src]

type Output = Clause

The returned type after indexing.

impl IndexMut<&'_ ClauseId> for ClauseDB[src]

impl IndexMut<ClauseId> for ClauseDB[src]

impl Ord for ClauseId[src]

impl PartialEq<ClauseId> for ClauseId[src]

impl PartialOrd<ClauseId> for ClauseId[src]

impl StructuralEq for ClauseId[src]

impl StructuralPartialEq for ClauseId[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> 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.