Struct shipyard::iterators::Chunk6 [−][src]
pub struct Chunk6<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract> { /* fields omitted */ }
Expand description
Chunk iterator over
6
components.
Returns a tuple of size
long slices and not single elements.
The last chunk’s length will be smaller than size
if size
does not divide the iterator’s length perfectly.
Trait Implementations
impl<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract> IntoIterator for Chunk6<A, B, C, D, E, F>
impl<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract> IntoIterator for Chunk6<A, B, C, D, E, F>
impl<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract> Shiperator for Chunk6<A, B, C, D, E, F>
impl<A: IntoAbstract, B: IntoAbstract, C: IntoAbstract, D: IntoAbstract, E: IntoAbstract, F: IntoAbstract> Shiperator for Chunk6<A, B, C, D, E, F>
type Item = (<A::AbsView as AbstractMut>::Slice, <B::AbsView as AbstractMut>::Slice, <C::AbsView as AbstractMut>::Slice, <D::AbsView as AbstractMut>::Slice, <E::AbsView as AbstractMut>::Slice, <F::AbsView as AbstractMut>::Slice)
Returns the minimum number of components yielded and maybe the maximum.
Visits all components and apply f
.
Visits all components and apply f
, can return early.
Visits all components, apply f
and store the result in acc
.
Visits all components, apply f
and store the result in acc
, can return early.
Returns the current iteration count as well as component(s).
Returns EntityId
as well as component(s).
Skips components that doesn’t match pred
.
Consumes the shiperator and counts the number of iterations.
Applies f
to all visited components.
Using it on an update packed storages will flag entities even if they’re not yielded at the end. Read more
Searches component(s) that matches pred
.
Transforms a shiperator into an iterator, allowing the use of for loop and crates such as itertools.
Iterator doesn’t know about update pack so it’ll flag everything it visits. Read more
Collects this shiperator into a collection.