Closed epage closed 6 years ago
@epage
I think it will be complicated. Because Environment implement From<T>
which is used to do thing like: [("FOO", "BAR")].into()
to create an Environment object.
It will be a conflict implementation I think. If you have any suggestion I'm fully aware :)
I'm confused. Why would implementing the InterIterator
trait and adding a fn iter
to your impl
conflict with From
? HashMap
has similar collection of trait and fn's.
What do you call InterIterator
?
Bah, I keep repeating a type for IntoInterator
fix by #10
The current approach should work with
inter_iter
.iter
would require moving the inheritance logic into thefn inherit
.This also ensures the data structure used for implementation isn't exposed.