fill_with_seq

Function fill_with_seq 

Source
pub fn fill_with_seq<T: AddAssign + Copy>(target: &mut [T], initial: T, inc: T)
Expand description

Fills the mutable slice with a sequence of values.

Arguments:

  • target: The slice to be filled;
  • initial: The initial value;
  • inc: The increment;