Trait specs_static::WorldExt [] [src]

pub trait WorldExt {
    fn register_tile_comp<C, I>(&mut self)
    where
        C: Component + Send + Sync,
        C::Storage: Default,
        I: Id
; }

An extension trait for registering statically managed component storages.

Required Methods

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]

[src]

Implementors