Trait rapier3d::data::BundleSet[][src]

pub trait BundleSet<'a, T> {
    fn index_bundle(&'a self, handle: Index) -> T;
}
Expand description

Helper trait to address multiple elements at once.

Required methods

fn index_bundle(&'a self, handle: Index) -> T[src]

Access multiple elements from this set.

Implementors

impl<'a, T, A, B> BundleSet<'a, (&'a A, &'a B)> for T where
    T: ComponentSet<A> + ComponentSet<B>, 
[src]

fn index_bundle(&'a self, handle: Index) -> (&'a A, &'a B)[src]

impl<'a, T, A, B, C> BundleSet<'a, (&'a A, &'a B, &'a C)> for T where
    T: ComponentSet<A> + ComponentSet<B> + ComponentSet<C>, 
[src]

fn index_bundle(&'a self, handle: Index) -> (&'a A, &'a B, &'a C)[src]

impl<'a, T, A, B, C, D> BundleSet<'a, (&'a A, &'a B, &'a C, &'a D)> for T where
    T: ComponentSet<A> + ComponentSet<B> + ComponentSet<C> + ComponentSet<D>, 
[src]

fn index_bundle(&'a self, handle: Index) -> (&'a A, &'a B, &'a C, &'a D)[src]

impl<'a, T, A, B, C, D, E> BundleSet<'a, (&'a A, &'a B, &'a C, &'a D, &'a E)> for T where
    T: ComponentSet<A> + ComponentSet<B> + ComponentSet<C> + ComponentSet<D> + ComponentSet<E>, 
[src]

fn index_bundle(&'a self, handle: Index) -> (&'a A, &'a B, &'a C, &'a D, &'a E)[src]

impl<'a, T, A, B, C, D, E, F> BundleSet<'a, (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F)> for T where
    T: ComponentSet<A> + ComponentSet<B> + ComponentSet<C> + ComponentSet<D> + ComponentSet<E> + ComponentSet<F>, 
[src]

fn index_bundle(
    &'a self,
    handle: Index
) -> (&'a A, &'a B, &'a C, &'a D, &'a E, &'a F)
[src]