divide_slice 0.1.2

Provides methods to divide a slice into portions of same size
Documentation

Divide slices into portions of same size

Divide_slice provides two additional methods to the primitive type slice:

  • divide: divide a slice into n non-overlapping portions, returning an iterator.
  • divide_mut: divide a slice into n mutable non-overlapping portions, returning an iterator.