Closed swlynch99 closed 1 year ago
Segments is a wrapper around std::slice::Iter so it would be nice to have some of the extra iterator traits exposed. This PR adds impls of DoubleEndedIterator, ExactSizeIterator, and Iterator::size_hint.
Segments
std::slice::Iter
DoubleEndedIterator
ExactSizeIterator
Iterator::size_hint
Segments
is a wrapper aroundstd::slice::Iter
so it would be nice to have some of the extra iterator traits exposed. This PR adds impls ofDoubleEndedIterator
,ExactSizeIterator
, andIterator::size_hint
.