Will hold two Box<dyn FnMut(&mut ExecutionContext) -> FenderReference> - one for next() and one for hasNext(). This should be accompanied by two standard library functions with those names, and probably an iterator function as well to construct iterator instances using supplied closures.
Will hold two
Box<dyn FnMut(&mut ExecutionContext) -> FenderReference>
- one fornext()
and one forhasNext()
. This should be accompanied by two standard library functions with those names, and probably aniterator
function as well to construct iterator instances using supplied closures.