pub struct EClass { /* private fields */ }
Expand description
An EClass entry. Contains either a single new enode and a child
eclass (i.e., adds one new enode), or unions two child eclasses
together.
Get the node, if any, from a node-only or node-and-child
eclass.
Get the first child, if any.
Get the second child, if any.
If this EClass is just a lone enode, return it.
If this EClass is one new enode and a child, return the node
and child ID.
If this EClass is the union variety, return the two child
EClasses. Both are guaranteed not to be Id::invalid()
.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.