Function itertools::write [] [src]

pub fn write<'a, A: 'a, I, J>(to: I, from: J) -> usize where I: Iterator<Item=&'a mut A>, J: Iterator<Item=A>

Deprecated: Use .set_from() instead.

Assign to each reference in to from from, stopping at the shortest of the two iterators.

Return the number of elements written.