Trait core::slice::SplitIter [] [src]

trait SplitIter: DoubleEndedIterator {
    fn finish(&mut self) -> Option<Self::Item>;
}

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>

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

Implementors