Module specs::join

source ·
Expand description

Joining of components for iteration over entities with specific components.

Structs

  • JoinIter is an Iterator over a group of storages.
  • JoinLendIter is an is a lending/streaming iterator over components from a group of storages.
  • JoinParIter is a ParallelIterator over a group of storages.
  • Returns a structure that implements Join/LendJoin/MaybeJoin if the contained T does and that yields all indices, returning None for all missing elements and Some(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 the nougat::Gat! macro is needed).