Expand description
Query the world
Structs§
- Archetype
Searcher - Declares search terms for a queries archetypes
- Batched
Iter - An iterator which yields disjoint continuous slices for each matched archetype and filter predicate.
- Children
- Iterates the immediate children of a node
- Dfs
- Traverse from all roots in depth first order
- DfsBorrow
- Borrowed state for
Dfsstrategy - DfsIter
- Iterate a hierarchy in depth-first order
- Entity
Borrow - Entity(Query)Borrow
- Graph
Borrow - The borrowed state for a
GraphQuery - Graph
Query - Allows random traversal of a graph formed by a relation
- Node
- A cursor to a node/entity in the graph
- Planar
- The default linear iteration strategy
- Query
- Represents a query and state for a given world. The archetypes to visit is cached in the query which means it is more performant to reuse the query than creating a new one.
- Query
Borrow - A lazily prepared query which borrows and hands out chunk iterators for each archetype matched.
- Query
Data - Combined reference to a query and a world.
- Query
Iter - The query iterator
- Query
One - Execute a query on a single entity
- Topo
- Visit entities in topological order following
relation. - Topo
Borrow - Borrowed state for
Topostrategy - Topo
Iter - Iterates a hierarchy in topological order.
Type Aliases§
- Entity
Query - Similar to
Query, except optimized to only fetch a single entity.