Trait Bundle

Source
pub trait Bundle: Bundle { }
Expand description

Tuple of zero to four owned component values accepted by spawn and insert. Implementations are sealed so validation and insertion cannot disagree.

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 Bundle for ()

Source§

impl<A> Bundle for (A,)
where A: 'static,

Source§

impl<A, B> Bundle for (A, B)
where A: 'static, B: 'static,

Source§

impl<A, B, C> Bundle for (A, B, C)
where A: 'static, B: 'static, C: 'static,

Source§

impl<A, B, C, D> Bundle for (A, B, C, D)
where A: 'static, B: 'static, C: 'static, D: 'static,

Implementors§