Skip to main content

Reflect

Derive Macro Reflect 

Source
#[derive(Reflect)]
Expand description

Derives allocation-free structural reflection metadata.

Generated metadata contains the declared type name, fields, field type tokens, declaration indexes, and enum variants. No registry or runtime initialization is generated.