[−][src]Trait specs_static::WorldExt
An extension trait for registering statically managed component storages.
Required methods
fn register_tile_comp<C, I>(&mut self) where
C: Component + Send + Sync,
C::Storage: Default,
I: Id,
C: Component + Send + Sync,
C::Storage: Default,
I: Id,
Registers a specs_static::Storage
for the components of type C
.
This will be done automatically if your storage has a Default
and you're fetching it with
Read
/ Write
.
Implementations on Foreign Types
impl WorldExt for World
[src]
fn register_tile_comp<C, I>(&mut self) where
C: Component + Send + Sync,
C::Storage: Default,
I: Id,
[src]
C: Component + Send + Sync,
C::Storage: Default,
I: Id,