Type Definition specs::Entities [] [src]

type Entities<'a> = Fetch<'a, EntitiesRes>;

A wrapper for a fetched Entities resource. Note that this is just Fetch<Entities>, so you can easily use it in your system:

Be careful when using this code, it's not being tested!
type SystemData = (Entities<'a>, ...);

Please note that you should call World::maintain after creating / deleting entities with this resource.