Trait shipyard::TupleRemove

source ·
pub trait TupleRemove {
    type Out;

    // Required method
    fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out;
}
Expand description

Trait used as bound for World::remove and AllStorages::remove.

Required Associated Types§

Required Methods§

source

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

Trait used as bound for World::remove and AllStorages::remove.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A: Send + Sync + Component> TupleRemove for (A,)

source§

type Out = (Option<A>,)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component> TupleRemove for (A, B)

source§

type Out = (Option<A>, Option<B>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component> TupleRemove for (A, B, C)

source§

type Out = (Option<A>, Option<B>, Option<C>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component> TupleRemove for (A, B, C, D)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component> TupleRemove for (A, B, C, D, E)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component> TupleRemove for (A, B, C, D, E, F)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>, Option<F>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component> TupleRemove for (A, B, C, D, E, F, G)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>, Option<F>, Option<G>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component> TupleRemove for (A, B, C, D, E, F, G, H)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>, Option<F>, Option<G>, Option<H>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component, I: Send + Sync + Component> TupleRemove for (A, B, C, D, E, F, G, H, I)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>, Option<F>, Option<G>, Option<H>, Option<I>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

source§

impl<A: Send + Sync + Component, B: Send + Sync + Component, C: Send + Sync + Component, D: Send + Sync + Component, E: Send + Sync + Component, F: Send + Sync + Component, G: Send + Sync + Component, H: Send + Sync + Component, I: Send + Sync + Component, J: Send + Sync + Component> TupleRemove for (A, B, C, D, E, F, G, H, I, J)

source§

type Out = (Option<A>, Option<B>, Option<C>, Option<D>, Option<E>, Option<F>, Option<G>, Option<H>, Option<I>, Option<J>)

source§

fn remove(all_storages: &mut AllStorages, entity: EntityId) -> Self::Out

Implementors§