Skip to content

Add a With and Without QueryItem Implementation To Avoid Resorting to iter_with_bitset() #492

@zicklag

Description

@zicklag

A friend of mine just ran into the need to iterate over entities with a component, but not wanting to borrow the component store during iteration.

Right now the only way to do that is to resort to using entities.iter_with_bitset() and manually combining the bitsets from the components. We should implement some kind of QueryItem that allows you to use the normal entities.iter_with(), but without actually borrowing the component store, if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions