Skip to content

Add iter_borrow() that provides an iterator capable of borrowing on a per-component basis #24

@recatek

Description

@recatek

Archetypes can currently be iterated with iter() and iter_mut(), yielding a full tuple of all elements. However, there's no way to use runtime borrows for overlapping iteration. There is already a borrow type for a single entity lookup, so this iterator should combine the two sets of functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions