Trait mc_core::world::source::LevelGeneratorBuilder[][src]

pub trait LevelGeneratorBuilder {
    type Generator: LevelGenerator;
    fn build(&mut self) -> Self::Generator;
}
Expand description

A trait used by LevelGeneratorSource in order to build a specific LevelGenerator in each worker thread, this allows the generator to be thread unsafe. For this specific use, this implies that this builder should be send and sync for.

Associated Types

Required methods

Implementors