pub struct NodeIter<L: Language, A: Analysis<L = L>> { /* private fields */ }
Expand description
An iterator over all nodes in an eclass.
Because eclasses are immutable once created, this does not need to hold an open borrow on the egraph; it is free to add new nodes, while our existing Ids will remain valid.
Implementations§
Auto Trait Implementations§
impl<L, A> Freeze for NodeIter<L, A>
impl<L, A> RefUnwindSafe for NodeIter<L, A>where
L: RefUnwindSafe,
A: RefUnwindSafe,
impl<L, A> Send for NodeIter<L, A>
impl<L, A> Sync for NodeIter<L, A>
impl<L, A> Unpin for NodeIter<L, A>
impl<L, A> UnwindSafe for NodeIter<L, A>where
L: UnwindSafe,
A: UnwindSafe,
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