Struct specs::RunArg [] [src]

pub struct RunArg { /* fields omitted */ }

System closure run-time argument.

Methods

impl RunArg
[src]

Borrows the world, allowing the system to lock some components and get the entity iterator. Must be called only once.

Borrows the world, allowing the system to lock some components and get the entity iterator. As an alternative to fetch(), it must be called only once. It allows creating a number of entities instantly, returned in a vector.

Creates a new entity dynamically.

Deletes an entity dynamically.