[][src]Struct varisat_checker::clauses::ClauseLits

pub struct ClauseLits {
    length: LitIdx,
    inline: [LitIdx; 3],
}

Literals of a clause, either inline or an index into a buffer

Fields

length: LitIdxinline: [LitIdx; 3]

Methods

impl ClauseLits[src]

fn new(lits: &[Lit], buffer: &mut Vec<Lit>) -> ClauseLits[src]

Create a new ClauseLits, storing them in the given buffer if necessary

pub fn slice<'a, 'b, 'c>(&'a self, buffer: &'b [Lit]) -> &'c [Lit] where
    'a: 'c,
    'b: 'c, 
[src]

Returns the literals as a slice given a storage buffer

fn buffer_used(&self) -> usize[src]

Literals stored in the literal buffer

Auto Trait Implementations

impl Send for ClauseLits

impl Sync for ClauseLits

Blanket Implementations

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

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

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

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

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

impl<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
    Inner: Part,
    Outer: Part<PartType = Field<OuterFieldType>>,
    OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
    Reference: HasPart<Outer> + ?Sized