trait SpecFold: Iterator {
    // Required method
    fn fold<B, F>(self, init: B, f: F) -> B
       where Self: Sized,
             F: FnMut(B, Self::Item) -> B;
}

Required Methods§

source

fn fold<B, F>(self, init: B, f: F) -> Bwhere Self: Sized, F: FnMut(B, Self::Item) -> B,

Implementors§

source§

impl<I, const N: usize> SpecFold for ArrayChunks<I, N>where I: Iterator + TrustedRandomAccessNoCoerce,

source§

impl<I, const N: usize> SpecFold for ArrayChunks<I, N>where I: Iterator,