Skip to main content

BundleExt

Trait BundleExt 

Source
pub trait BundleExt: Bundle + Sized {
    // Provided method
    fn with<C: Component>(self, component: C) -> DynamicBundle<Self, C> { ... }
}

Provided Methods§

Source

fn with<C: Component>(self, component: C) -> DynamicBundle<Self, C>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Bundle> BundleExt for T