#macro-derive #obel #obel-engine #graphics

macro obel_reflect_derive

Provide the macro derives fro obel_reflect

1 unstable release

new 0.0.6 Jan 30, 2025

#2401 in Game dev


Used in 4 crates (via obel_reflect)

MIT/Apache

340KB
6K SLoC

Obel Reflect Derive

License Crates.io Downloads Docs Discord


lib.rs:

This crate contains macros used by Bevy's Reflect API.

The main export of this crate is the derive macro for Reflect. This allows types to easily implement Reflect along with other bevy_reflect traits, such as Struct, GetTypeRegistration, and more— all with a single derive!

Some other noteworthy exports include the derive macros for FromReflect and TypePath, as well as the reflect_trait attribute macro.

Dependencies

~5MB
~89K SLoC