1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 15:54:04 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Samuel Levy
a063814396 #4 Added From trait
This adds the `from()` and `tryFrom()` methods to pure enums, and the `fromName()` and `tryFromName()` methods for all enum types.
2022-03-13 16:09:32 +10:00
Samuel Štancl
b50d001374 add names() and values() methods, resolve #1 2022-02-20 21:53:21 +01:00
Samuel Štancl
e01edd128f add options() method, resolve #2 2022-02-20 21:50:53 +01:00
Samuel Štancl
41b423da38 initial 2022-02-20 20:58:57 +01:00
f9fe9e5cab Initial commit 2022-02-20 19:51:56 +01:00