Type Alias itertools::size_hint::SizeHint

source ·
pub type SizeHint = (usize, Option<usize>);
Expand description

SizeHint is the return type of Iterator::size_hint().

Trait Implementations§

source§

impl<I, A> HasCombination<I> for (A, A)where I: Iterator<Item = A> + Clone, I::Item: Clone,

source§

impl<A> TupleCollect for (A, A)

§

type Item = A

§

type Buffer = [Option<A>; 1]

source§

fn collect_from_iter<I>(iter: I, buf: &mut Self::Buffer) -> Option<Self>where I: IntoIterator<Item = A>,

source§

fn collect_from_iter_no_buf<I>(iter: I) -> Option<Self>where I: IntoIterator<Item = A>,

source§

fn num_items() -> usize

source§

fn left_shift_push(&mut self, item: A)

source§

fn buffer_len(buf: &Self::Buffer) -> usize