pub struct Config64;Expand description
63-bit e-graph configuration (63 payload bits in a u64 word).
Trait Implementations§
Source§impl EGraphConfig for Config64
impl EGraphConfig for Config64
Source§type ClassKey = EClassKey64
type ClassKey = EClassKey64
Recycled key into the packed e-class data store. It has the same
payload width as
G, because the worst case has one class per node.Source§type V = LitValId64
type V = LitValId64
Interned literal value id.
Source§type UL = UseListId64
type UL = UseListId64
Use-list id.
Source§type UN = UseNodeId64
type UN = UseNodeId64
Use-list node id.
Source§type M = Multiplicity64
type M = Multiplicity64
Multiplicity width for AC multiset nodes:
Multiplicity16,
Multiplicity, or Multiplicity64. Read moreSource§fn mset_child_id(c: &Self::C) -> Self::G
fn mset_child_id(c: &Self::C) -> Self::G
Extract the global id from an AC child.
Source§fn mset_child_mult(c: &Self::C) -> Self::M
fn mset_child_mult(c: &Self::C) -> Self::M
Extract the multiplicity from an AC child.
Source§fn mset_child_with_mult(g: Self::G, mult: Self::M) -> Self::C
fn mset_child_with_mult(g: Self::G, mult: Self::M) -> Self::C
Create an AC child with a given multiplicity.
Source§fn mset_child_merge(existing: &mut Self::C, new_g: Self::G) -> bool
fn mset_child_merge(existing: &mut Self::C, new_g: Self::G) -> bool
Increment the multiplicity of an AC child. Returns true if same group. Read more
Source§fn mset_child_single(g: Self::G) -> Self::C
fn mset_child_single(g: Self::G) -> Self::C
Create an AC child with multiplicity 1.
Auto Trait Implementations§
impl Freeze for Config64
impl RefUnwindSafe for Config64
impl Send for Config64
impl Sync for Config64
impl Unpin for Config64
impl UnsafeUnpin for Config64
impl UnwindSafe for Config64
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