pub struct ENode {
pub repr: Expr,
pub members: Vec<Expr>,
pub proofs: Vec<Option<Expr>>,
}Expand description
A node in the E-graph, representing an equivalence class.
Fields§
§repr: ExprRepresentative of this equivalence class.
members: Vec<Expr>All members of this equivalence class.
proofs: Vec<Option<Expr>>Proof terms linking members to the representative (if available).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ENode
impl RefUnwindSafe for ENode
impl Send for ENode
impl Sync for ENode
impl Unpin for ENode
impl UnsafeUnpin for ENode
impl UnwindSafe for ENode
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