Skip to content
Discussion options

You must be logged in to vote

You can use #[reflect_value(Component)] on enums:

#[derive(Component, Serialize, Deserialize, PartialEq, Eq, Hash, Clone, Copy, Reflect)]
#[reflect_value(Component, Serialize, Deserialize, PartialEq, Hash)]

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@alice-i-cecile
Comment options

@Davier
Comment options

Davier Feb 25, 2022
Collaborator

Answer selected by automeowtion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants