Trait SplitIter

pub(in ::slice) trait SplitIter: DoubleEndedIterator

An internal abstraction over the splitting iterators, so that splitn, splitn_mut etc can be implemented once.

Required Methods

fn finish(&mut self) -> Option<Self::Item>

Marks the underlying iterator as complete, extracting the remaining portion of the slice.

Implementors