derive_more
derive_more copied to clipboard
Feature: derive `Step`
trafficstars
std::iter::Step is implemented for all integer types. It is useful to derive Step in newtypes that are intended to have ranges, e.g. a coordinate class.
It is a nightly feature step_trait, and should be a disabled-by-default feature.
Definitely open to accept PRs for this, even if it's a nigthly only trait for now.