Skip to main content

ComponentTuple

Trait ComponentTuple 

Source
pub trait ComponentTuple: Tuple { }
Expand description

A flat tuple of component types approved together before application start.

Sim;Logic implements this sealed trait for tuples of one through fifteen Component types. It is a setup convenience only; every tuple member still passes the same lifecycle-hook and required-component checks as an individual approval.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: Tuple> ComponentTuple for T