pub fn with_component<T>(self, component: T) -> EntityBuilder<<C as ConsAppend<T>>::Output>
    where
        C: ConsAppend<T>,
        <C as ConsAppend<T>>::Output: ConsFlatten,
    {
        EntityBuilder {
            components: ConsAppend::append(self.components, component),
        }
    }
/// Add a component to this entity.
Add a component to this entity.
Add a component to this entity .
pub fn with_component<T>(self, component: T) -> EntityBuilder<<C as ConsAppend<T>>::Output>
    where
        C: ConsAppend<T>,
        <C as ConsAppend<T>>::Output: ConsFlatten,
    {
        EntityBuilder {
            components: ConsAppend::append(self.components, component),
        }
    }
pub fn with_component < T > ( self , component : T ) -> EntityBuilder < < C as ConsAppend < T > > :: Output > where C : ConsAppend < T > , < C as ConsAppend < T > > :: Output : ConsFlatten , { EntityBuilder { components : ConsAppend :: append ( self . components , component ) , } }
Add a component to this entity.
Add a component to this entity .
self
component
T
self
component
T