#[derive(BundleEffect)]Expand description
Implement [Bundle] for a struct that implements BundleEffect.
§Example
ⓘ
#[derive(BundleEffect)]
struct Foo{
bar: String,
}
impl BundleEffect for Foo {
fn apply(self, entity: &mut EntityWorldMut) { entity.insert(Bar); }
}