[][src]Trait amethyst::DataInit

pub trait DataInit<T> {
    fn build(self, world: &mut World) -> T;
}

Initialise trait for game data

Required methods

fn build(self, world: &mut World) -> T

Build game data

Loading content...

Implementations on Foreign Types

impl DataInit<()> for ()[src]

Loading content...

Implementors

impl<'a, 'b> DataInit<GameData<'a, 'b>> for GameDataBuilder<'a, 'b>[src]

Loading content...