SemanticGenerator

Trait SemanticGenerator 

Source
pub trait SemanticGenerator<T: Cell> {
    // Required method
    fn generate_semantic(&self, grid: &Grid<T>, rng: &mut Rng) -> SemanticLayers;
}
Expand description

Trait for algorithms that can generate semantic information

Required Methods§

Source

fn generate_semantic(&self, grid: &Grid<T>, rng: &mut Rng) -> SemanticLayers

Generate semantic layers for the given grid

Implementors§