[][src]Trait specs_static::WorldExt

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

fn register_tile_comp<C, I>(&mut self) where
    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.

Loading content...

Implementations on Foreign Types

impl WorldExt for World[src]

Loading content...

Implementors

Loading content...