GeminiLab / enumerable

Enumerate all possible values of a type in Rust.
https://docs.rs/enumerable
MIT License
1 stars 1 forks source link

Add an associated constant for the number of possible values of a type implementing `Enumerable` #26

Closed aarkegz closed 2 months ago

aarkegz commented 2 months ago

Add an associated constant (<T as Enumerable>::ENUMERABLE_SIZE) for the number of possible values.