Skip to content

Adding Reflect to enumset #19339

Answered by MrGVSV
jhgarner asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately this isn't supported yet. Ideally we'd be able to do this via the derive macro (via a #[reflect(kind = Set)] attribute) but right now it doesn't exist.

So in this case, the only way to implement Set is to do it yourself. You can take a look at how we do that for HashSet in the repo as a reference :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jhgarner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants