Samuel Štancl
0fa89738b4
Merge branch 'master' into issues/#4_fromName_tryFromName
2022-03-23 22:11:51 +01:00
Samuel Levy
0c87357a6e
Extend functionality to work with pure enums ( #6 )
...
* Extend functionality to work with pure enums
* Code review changes
Altered `::values()` to act like `::names()` for backed enums, code style fixes, general cleanups
2022-03-23 21:42:35 +01:00
Samuel Levy
ad1e07cf39
Code review changes
...
Dropped support for fragile indexes on pure enums
2022-03-15 07:33:09 +10:00
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
20fa78c2b1
Update README.md
2022-02-21 21:35:46 +01:00
Samuel Štancl
c733871aaa
Update README.md
2022-02-21 01:44:47 +01:00
Samuel Štancl
1fbdbfb914
document names() options() values()
2022-02-20 21:59:36 +01:00
Samuel Štancl
ca27cbfdf5
wip
2022-02-20 21:02:02 +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