<@U06A03HV1> Can you talk me through the enum pyth...
# development
a
@witty-crayon-22786 Can you talk me through the enum python-to-rust thing?
⁉️ 1
w
sure
Danny added cbindgen
cbindgen generates a useful struct for enums
with a tag field
and constants for each enum member
as demonstrated in the link, you access the constant to set the relevant tag
and in the case of an enum without any fields... then i think you're done?
a
Very cool! Ok, I will have a play with that tomorrow! Thanks 🙂