Skip to main content

ClassData

Struct ClassData 

Source
pub struct ClassData<L, T>
where L: DenseId, T: DenseId,
{ pub use_list: L, pub min_row: Option<<T as DenseId>::Index>, pub atomic: bool, pub size: <T as DenseId>::Index, }
Expand description

Per-class data from the verified kernel. Per-class data: the class’s use-list id, its optional min-monomial pool row number, and the atomic flag (production’s ClassData).

Fields§

§use_list: L§min_row: Option<<T as DenseId>::Index>§atomic: bool§size: <T as DenseId>::Index

Member-node count of the class, in the node-id family’s index type so the width follows the configuration (the min_row pattern). Set to 1 at add_singleton, folded survivor += absorbed at merge_with, carried unchanged by every other payload write. Feeds the --union-by size/sum survivor policy.

Trait Implementations§

Source§

impl<L, T> Clone for ClassData<L, T>
where L: DenseId, T: DenseId,

Source§

fn clone(&self) -> ClassData<L, T>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<L, T> Copy for ClassData<L, T>
where L: Copy + DenseId, T: Copy + DenseId,

Source§

impl<L, T> Default for ClassData<L, T>
where L: DenseId, T: DenseId,

Source§

fn default() -> ClassData<L, T>

Returns the “default value” for a type. Read more
Source§

impl<L, T> Tagged for ClassData<L, T>
where L: DenseId, T: DenseId,

Tagged for ClassData, delegating the capture tag to the use-list word. repr_wf pins the absent-row encoding to a canonical (min, false) — without that, two reprs differing only in a hidden dead row word would decode equal, violating the extensionality law.

Source§

type Repr = ClassDataRepr<<L as Tagged>::Repr, <T as DenseId>::Index>

Source§

fn into_repr(self) -> <ClassData<L, T> as Tagged>::Repr

Encode a clean value with tag = false. Result is well-formed.
Source§

fn from_repr(r: &<ClassData<L, T> as Tagged>::Repr) -> ClassData<L, T>

Decode a Repr to its clean value, stripping the tag.
Source§

fn tag(r: &<ClassData<L, T> as Tagged>::Repr) -> bool

Read the tag bit.
Source§

fn set_tag(r: &mut <ClassData<L, T> as Tagged>::Repr)

Set the tag bit. Value, well-formedness preserved.
Source§

fn clear_tag(r: &mut <ClassData<L, T> as Tagged>::Repr)

Clear the tag bit. Value, well-formedness preserved.

Auto Trait Implementations§

§

impl<L, T> Freeze for ClassData<L, T>
where L: Freeze, Option<<T as DenseId>::Index>: Freeze, <T as DenseId>::Index: Freeze,

§

impl<L, T> RefUnwindSafe for ClassData<L, T>

§

impl<L, T> Send for ClassData<L, T>
where L: Send, Option<<T as DenseId>::Index>: Send, <T as DenseId>::Index: Send,

§

impl<L, T> Sync for ClassData<L, T>
where L: Sync, Option<<T as DenseId>::Index>: Sync, <T as DenseId>::Index: Sync,

§

impl<L, T> Unpin for ClassData<L, T>
where L: Unpin, Option<<T as DenseId>::Index>: Unpin, <T as DenseId>::Index: Unpin,

§

impl<L, T> UnsafeUnpin for ClassData<L, T>

§

impl<L, T> UnwindSafe for ClassData<L, T>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.