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§
Sourcefn generate_semantic(&self, grid: &Grid<T>, rng: &mut Rng) -> SemanticLayers
fn generate_semantic(&self, grid: &Grid<T>, rng: &mut Rng) -> SemanticLayers
Generate semantic layers for the given grid