pub struct ClassData<L, T>{
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>::IndexMember-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§
impl<L, T> Copy for ClassData<L, T>
Source§impl<L, T> Tagged for ClassData<L, T>
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.
impl<L, T> Tagged for ClassData<L, T>
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.
type Repr = ClassDataRepr<<L as Tagged>::Repr, <T as DenseId>::Index>
Source§fn into_repr(self) -> <ClassData<L, T> as Tagged>::Repr
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>
fn from_repr(r: &<ClassData<L, T> as Tagged>::Repr) -> ClassData<L, T>
Decode a
Repr to its clean value, stripping the tag.Auto Trait Implementations§
impl<L, T> Freeze for ClassData<L, T>
impl<L, T> RefUnwindSafe for ClassData<L, T>where
L: RefUnwindSafe,
Option<<T as DenseId>::Index>: RefUnwindSafe,
<T as DenseId>::Index: RefUnwindSafe,
impl<L, T> Send for ClassData<L, T>
impl<L, T> Sync for ClassData<L, T>
impl<L, T> Unpin for ClassData<L, T>
impl<L, T> UnsafeUnpin for ClassData<L, T>where
L: UnsafeUnpin,
Option<<T as DenseId>::Index>: UnsafeUnpin,
<T as DenseId>::Index: UnsafeUnpin,
impl<L, T> UnwindSafe for ClassData<L, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more