Closed james7132 closed 1 year ago
This PR adds FusedIterator implementations to all of the iterators in the crate: all of them satisfy it's requirements, as well as implemented the optional Iterator::size_hint to help with Iterator::collect implementations.
FusedIterator
Iterator::size_hint
Iterator::collect
Masks now also implements ExactSizeIterator.
Masks
ExactSizeIterator
This PR adds
FusedIterator
implementations to all of the iterators in the crate: all of them satisfy it's requirements, as well as implemented the optionalIterator::size_hint
to help withIterator::collect
implementations.Masks
now also implementsExactSizeIterator
.