pub trait BundleExt: Bundle + Sized {
// Provided method
fn with<C: Component>(self, component: C) -> DynamicBundle<Self, C> { ... }
}Expand description
Tüm Bundle tipleri için otomatik .with(Component) zincirleme desteği.
Provided Methods§
Sourcefn with<C: Component>(self, component: C) -> DynamicBundle<Self, C>
fn with<C: Component>(self, component: C) -> DynamicBundle<Self, C>
Bu bundle’ın üzerine ek bir bileşen daha ekler.
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.