Expand description
Joining of components for iteration over entities with specific components.
Structs
JoinIter
is anIterator
over a group of storages.JoinLendIter
is an is a lending/streaming iterator over components from a group of storages.JoinParIter
is aParallelIterator
over a group of storages.- Returns a structure that implements
Join
/LendJoin
/MaybeJoin
if the containedT
does and that yields all indices, returningNone
for all missing elements andSome(T)
for found elements.
Traits
BitAnd
is a helper method to & bitsets together resulting in a tree.- The purpose of the
Join
trait is to provide a way to access multiple storages at the same time with the merged bit set. - Like the
Join
trait except this is similar to a lending iterator in that only one item can be accessed at once. - The purpose of the
ParJoin
trait is to provide a way to access multiple storages in parallel at the same time with the merged bit set. - Safety
Type Aliases
- Type alias to refer to the
<J as LendJoin>::Type<'next>
(except this doesn’t actually exist in this form so thenougat::Gat!
macro is needed).