Skip to main content

IntoIter

Trait IntoIter 

Source
pub trait IntoIter<N, R>
where N: Newtype, N::Inner: Step, R: RangeBounds<N>,
{ // Required method fn into_iter(self) -> Iterator<N> ; }
Expand description

Iterator extension trait defining the IntoIter::into_iter method.

Required Methods§

Source

fn into_iter(self) -> Iterator<N>

Converts a range bounds into a newtype Iterator instance.

Implementors§

Source§

impl<N, R> IntoIter<N, R> for R
where N: Newtype, N::Inner: Step, R: RangeBounds<N>,

Blanket IntoIter::into_iter implementation for all newtype range types.