Replies: 1 comment 6 replies
-
|
The MR to add The magic can just be an |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the below struct, the enum id is based on the outer struct field
data_type.When I write I want the
data_typeto be filled based on the enum variant in thedatafield.How can I do that? Couldn't find an automated way and couldn't find how to access the deku id of the enum to fill it on update.
Also, while here, is there a way to place 'magic' inside a struct and not only as prefix to the struct? (that's the last field on the struct which is always 10). I could make a struct out of that field but seems like it should be simpler.
Beta Was this translation helpful? Give feedback.
All reactions