rj00a / evenio

An event-driven Entity Component System
MIT License
137 stars 14 forks source link

`get_many_mut` #6

Closed rj00a closed 7 months ago

rj00a commented 9 months ago

Fetcher has get and get_mut, but it's missing get_many_mut. Its signature should look something like this:

fn get_many_mut<const N: usize>(
    &mut self,
    entities: [EntityId; N]
) -> Result<[Q::Item<'_>; N], GetError>