#enums #fields #mutable #set #return #ability #enum-fields

macro set_enum_fields

Adds the ability to set the fields of an enum, and return the fields of enum mutable. Based on enum-fields

1 unstable release

0.1.5 Nov 2, 2023

#28 in #ability

Apache-2.0

9KB
141 lines

enum-fields

Grabbed from enum-fields and updated. Mutable swap is used to replace without option.

Get the property of this enum discriminant if it's available
Get the property of this enum discriminant if it's available

Dependencies

~2.5MB
~54K SLoC