Skip to content

Improve documentation for enum reflection #6985

Description

@MrGVSV

How can Bevy's documentation be improved?

Enums require all variant fields to implement FromReflect in order to implement Reflect themselves (this is due to a similar limitation as Vec<T> in the Reflect::apply method implementation).

This behavior should either be documented on Reflect or at least on Enum.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ReflectionRuntime information about typesC-DocsAn addition or correction to our documentation

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions