Trait ComponentList

Source
pub trait ComponentList {
    // Required methods
    fn get_ids() -> Vec<ComponentId> ;
    fn get_component_values(self) -> Vec<Box<dyn Any>>;
}

Required Methods§

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<T1> ComponentList for (T1,)
where T1: Component + 'static,

Source§

impl<T1, T2> ComponentList for (T1, T2)
where T1: Component + 'static, T2: Component + 'static,

Source§

impl<T1, T2, T3> ComponentList for (T1, T2, T3)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static,

Source§

impl<T1, T2, T3, T4> ComponentList for (T1, T2, T3, T4)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5> ComponentList for (T1, T2, T3, T4, T5)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6> ComponentList for (T1, T2, T3, T4, T5, T6)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7> ComponentList for (T1, T2, T3, T4, T5, T6, T7)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static, T12: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static, T12: Component + 'static, T13: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static, T12: Component + 'static, T13: Component + 'static, T14: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static, T12: Component + 'static, T13: Component + 'static, T14: Component + 'static, T15: Component + 'static,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> ComponentList for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
where T1: Component + 'static, T2: Component + 'static, T3: Component + 'static, T4: Component + 'static, T5: Component + 'static, T6: Component + 'static, T7: Component + 'static, T8: Component + 'static, T9: Component + 'static, T10: Component + 'static, T11: Component + 'static, T12: Component + 'static, T13: Component + 'static, T14: Component + 'static, T15: Component + 'static, T16: Component + 'static,

Implementors§

Source§

impl<T1> ComponentList for T1
where T1: Component + 'static,