3
12bitfloat
207d

bevy_reflect is literally the best thing since sliced bread

It allows you to do type and value reflection IN RUST!! A compiled language with dynamic runtime reflection of values. And with custom annotations on fields and structs too like

#[derive(Reflect)]
#[@SomeDataIWantToAttach {x: 20, y: 10} ]
struct MyComponent {
#[reflect(@MyCustomRangeAnnotation(0..10))]
pub num: u32,
}

It is nice. It is so nice

Comments
Add Comment