Currently you can do:
for i in 0..10 {
device.foo(i).write(|_|);
}
This is annoying. There's no way to get the max even.
Instead, something like this should be made possible:
for foo in device.iter_foo() {
foo .write(|_|);
}
However, this would introduce a new name that can clash, so don't know how to solve that: related #183
Currently you can do:
This is annoying. There's no way to get the max even.
Instead, something like this should be made possible:
However, this would introduce a new name that can clash, so don't know how to solve that: related #183