IteratorSoa

Trait IteratorSoa 

Source
pub trait IteratorSoa: Sized {
    type Output;

    // Required method
    fn to_soa<I: Iterator<Item = Self>>(iter: I) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn to_soa<I: Iterator<Item = Self>>(iter: I) -> Self::Output

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<A> IteratorSoa for (A,)
where A: Component,

Source§

type Output = (Vec<A>,)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B> IteratorSoa for (A, B)
where A: Component, B: Component,

Source§

type Output = (Vec<A>, Vec<B>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C> IteratorSoa for (A, B, C)
where A: Component, B: Component, C: Component,

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D> IteratorSoa for (A, B, C, D)
where A: Component, B: Component, C: Component, D: Component,

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E> IteratorSoa for (A, B, C, D, E)
where A: Component, B: Component, C: Component, D: Component, E: Component,

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>, Vec<E>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F> IteratorSoa for (A, B, C, D, E, F)

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>, Vec<E>, Vec<F>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F, G> IteratorSoa for (A, B, C, D, E, F, G)

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>, Vec<E>, Vec<F>, Vec<G>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F, G, H> IteratorSoa for (A, B, C, D, E, F, G, H)

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>, Vec<E>, Vec<F>, Vec<G>, Vec<H>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F, G, H, I> IteratorSoa for (A, B, C, D, E, F, G, H, I)

Source§

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

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F, G, H, I, J> IteratorSoa for (A, B, C, D, E, F, G, H, I, J)

Source§

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

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> IteratorSoa for (A, B, C, D, E, F, G, H, I, J, K)

Source§

type Output = (Vec<A>, Vec<B>, Vec<C>, Vec<D>, Vec<E>, Vec<F>, Vec<G>, Vec<H>, Vec<I>, Vec<J>, Vec<K>)

Source§

fn to_soa<Iter: Iterator<Item = Self>>(iter: Iter) -> Self::Output

Implementors§