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.

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