Struct constellation::VecStorage [] [src]

pub struct VecStorage<T> { /* fields omitted */ }

Provides methods to retrieve and mutate entity data stored inside a VecResource.

Methods

impl<T> VecStorage<T>
[src]

Gets an iterator over immutable references to all entity data stored in the resource.

Gets an iterator over mutable references to all entity data stored in the resource.

Trait Implementations

impl<T> ComponentResourceApi for VecStorage<T>
[src]

The type of data stored for each entity.

Gets a shared reference to the component associated with the given entity, if present. Read more

Gets a shared reference to the component associated with the given entity without performing any bounds or liveness checking. Read more

Gets a mutable reference to the component associated with the given entity, if present. Read more

Gets a mutable reference to the component associated with the given entity without performing any bounds or liveness checking. Read more