Skip to main content

Iter

Trait Iter 

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

Iterator extension trait defining the Iter::iter method.

Required Methods§

Source

fn iter(&self) -> Iterator<N>

Converts a range bounds into a newtype Iterator instance.

Implementors§

Source§

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

Blanket Iter::iter implementation for all newtype range types.