pub trait DynamicBundle {
type Effect: BundleEffect;
}
Expand description
The parts from Bundle
that don’t require statically knowing the components of the bundle.
Required Associated Types§
Sourcetype Effect: BundleEffect
type Effect: BundleEffect
An operation on the entity that happens after inserting this bundle.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<B: Bundle> DynamicBundle for (B₁, B₂, …, Bₙ)
This trait is implemented for tuples up to 16 items long.
impl<B: Bundle> DynamicBundle for (B₁, B₂, …, Bₙ)
This trait is implemented for tuples up to 16 items long.