[][src]Struct varisat::tmp::TmpFlags

pub struct TmpFlags {
    pub flags: Vec<bool>,
}

Temporary data that is automatically resized.

This contains buffers that are automatically resized when the variable count of the solver changes. They are also always kept in a clean state, so using them doesn't come with costs proportional to the number of variables.

Make sure to check any documented invariants when using this. Also make sure to check all existing users when adding invariants.

Fields

flags: Vec<bool>

A boolean for each literal.

Reset to all-false, keep size.

Methods

impl TmpFlags[src]

pub fn set_var_count(&mut self, count: usize)[src]

Update structures for a new variable count.

Trait Implementations

impl Default for TmpFlags[src]

Auto Trait Implementations

impl Send for TmpFlags

impl Sync for TmpFlags

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