[][src]Struct varisat::proof::map_step::MapStep

pub struct MapStep {
    lit_buf: Vec<Lit>,
    hash_buf: Vec<ClauseHash>,
    unit_buf: Vec<(Lit, ClauseHash)>,
}

Maps literals and hashes of clause steps between the solver and the checker.

Fields

lit_buf: Vec<Lit>hash_buf: Vec<ClauseHash>unit_buf: Vec<(Lit, ClauseHash)>

Methods

impl MapStep[src]

pub fn map_lits(&mut self, lits: &[Lit], map_var: impl Fn(Var) -> Var) -> &[Lit][src]

pub fn map<'s, 'a, 'b>(
    &'a mut self,
    step: &ProofStep<'b>,
    map_var: impl Fn(Var) -> Var,
    map_hash: impl Fn(ClauseHash) -> ClauseHash
) -> ProofStep<'s> where
    'a: 's,
    'b: 's, 
[src]

Trait Implementations

impl Default for MapStep[src]

Auto Trait Implementations

impl Send for MapStep

impl Sync for MapStep

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