Skip to content
New issue

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

Implement optional iterator features #5

Open
1 of 5 tasks
kpreid opened this issue Feb 15, 2022 · 1 comment
Open
1 of 5 tasks

Implement optional iterator features #5

kpreid opened this issue Feb 15, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@kpreid
Copy link
Owner

kpreid commented Feb 15, 2022

  • FusedIterator Implement and require FusedIterator #29
  • ExactSizeIterator, at least for fieldless enums.
  • Iterator::size_hint()
  • DoubleEndedIterator — or not, because that has costs to implement.
  • Iterator::fold() and Iterator::try_fold() overrides.

Each of these should have tests, and documentation for the conditions under which it exists.

@kpreid kpreid added the enhancement New feature or request label Feb 15, 2022
@kpreid
Copy link
Owner Author

kpreid commented Jun 29, 2024

These should also be opt-in (controlled by derive helper attributes or separate derive macros) to ensure that dependents don't accidentally break semver by changing the types of private fields whose properties were exposed.

@kpreid kpreid added this to the 1.0 milestone Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant