Derive Macro Iterators

Source
#[derive(Iterators)]
Expand description

A derive macro fully implementing IterateByValue and IterateByValueFrom for subslices on top of a the <YOUR TYPE>SubsliceImpl structure generated by the derive macro Subslices.

The macro defines a structure <YOUR TYPE>Iter that keeps track of a mutable reference to a slice and of a current iteration range; the structure is used to implement IterateByValue and IterateByValueFrom on <YOUR TYPE>SubsliceImpl.