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

macro obel_reflect_derive

Provide the macro derives fro obel_reflect

4 releases

new 0.0.9 Feb 1, 2025
0.0.8 Feb 1, 2025
0.0.7 Feb 1, 2025
0.0.6 Jan 30, 2025

#7 in #obel-engine

Download history 59/week @ 2025-01-25

59 downloads per month
Used in 5 crates (2 directly)

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
~100K SLoC