Enroll

Trait Enroll 

Source
pub trait Enroll {
    // Required methods
    fn band<const N: usize>(self) -> Band<N, Self> 
       where Self: Sized + Iterator;
    fn tape(self) -> Tape<Self> 
       where Self: Sized + Iterator;
}
Expand description

Extension trait on types that implement Iterator trait with convenient functions to convert the given Iterator into a Band or Tape.

Required Methods§

Source

fn band<const N: usize>(self) -> Band<N, Self>
where Self: Sized + Iterator,

Creates a new Band from the given Iterator.

Source

fn tape(self) -> Tape<Self>
where Self: Sized + Iterator,

Creates a new Tape from the given Iterator.

Implementors§

Source§

impl<I> Enroll for I
where I: Iterator,