Skip to main content

BundleExt

Trait BundleExt 

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

Provided Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> BundleExt for T
where T: Bundle,