itertools::tee

Function new

Source
pub fn new<I>(iter: I) -> (Tee<I>, Tee<I>)
where I: Iterator,