Module iter

Module iter 

Source
Expand description

Contains all items related to storage iteration.

Re-exports§

pub use crate::tracking::Inserted;
pub use crate::tracking::InsertedOrModified;
pub use crate::tracking::Modified;

Structs§

IntoIterRef
Mixed
Iterator over multiple storages.
Not
Filters out components.
Optional
Iterates over a component that may be absent.
Or
Yields the entities that have at least one of two components.
ParShiperatorthread_local
RawEntityIdAccess
Shiperator
Handles storages iteration.
WithId
Iterator that returns the EntityId alongside the component(s).

Enums§

OneOfTwo
Returned when iterating with Or filter.

Traits§

IntoIter
Creates view iterators.
IntoShiperator
Turns a view into a Shiperator.
IterComponent
Trait used as bound for World::iter and AllStorages::iter.
ShiperatorCaptain
Provides access to components when the storage drives the iteration.
ShiperatorOutput
Trait deciding what type a Shiperator will return when iterated.
ShiperatorSailor
Provides access to components when the storage doesn’t drives the iteration.