pub struct EClass {
pub id: usize,
pub nodes: Vec<String>,
pub size: usize,
}Expand description
Represents an E-class in an E-graph.
Fields§
§id: usizeCanonical ID of this e-class.
nodes: Vec<String>E-nodes (terms) in this e-class.
size: usizeSize of the e-class.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EClass
impl RefUnwindSafe for EClass
impl Send for EClass
impl Sync for EClass
impl Unpin for EClass
impl UnsafeUnpin for EClass
impl UnwindSafe for EClass
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