pub enum Child {
None,
Node(NodeId),
Atom(AtomId),
}
Expand description
One of the children of a node
You probably don’t need to use this struct unless you want to inspect the binary expression tree.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Child
impl PartialEq for Child
impl Copy for Child
impl StructuralPartialEq for Child
Auto Trait Implementations§
impl Freeze for Child
impl RefUnwindSafe for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl UnwindSafe for Child
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