We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It already implements next(), why not make it implement Iterator?
next()
Iterator
The text was updated successfully, but these errors were encountered:
I just noticed there's an events() method on EventReader which implements Iterator. Why not just implement Iterator directly on EventReader?
events()
EventReader
Sorry, something went wrong.
There's also IntoIterator trait to consider.
IntoIterator
EventReader now implements IntoIterator, so it can be used in a for loop. You can also get EventReader back from its iterator with into_inner().
for
into_inner()
No branches or pull requests
It already implements
next()
, why not make it implementIterator
?The text was updated successfully, but these errors were encountered: