Skip to content

Add RangeEnum trait #10418

Closed
Closed
@orenbenkiki

Description

@orenbenkiki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions