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

Add RangeEnum trait #824

Open
steveklabnik opened this issue Feb 11, 2015 · 0 comments
Open

Add RangeEnum trait #824

steveklabnik opened this issue Feb 11, 2015 · 0 comments
Labels
T-libs-api Relevant to the library API team, which will review and decide on the RFC.

Comments

@steveklabnik
Copy link
Member

Issue by orenbenkiki
Monday Nov 11, 2013 at 10:48 GMT

For earlier discussion, see rust-lang/rust#10418

This issue was labelled with: A-libs in the Rust repository


Following the last few comments on #4926.

Add a RangeEnum trait for simple Enums (which implement FromPrimitive) to allow quick access to the total number of values, and provide an iterator over the values.

@petrochenkov petrochenkov added T-libs-api Relevant to the library API team, which will review and decide on the RFC. and removed A-libs labels Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-libs-api Relevant to the library API team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

2 participants