Skip to main content

Crate plato_genepool_tile

Crate plato_genepool_tile 

Source
Expand description

plato-genepool-tile — lossless bridge between cuda-genepool Gene and Plato Tile.

GeneTile is a union struct: every Gene field stored verbatim alongside its tile-spec mirror, so gene_to_tile → tile_to_gene is a perfect round-trip.

Structs§

Gene
GeneTile
Union of Gene + Tile fields. All gene fields stored verbatim → lossless round-trip.
GeneTilePool
Tile
Standalone Tile with gene metadata stripped — result of GeneTilePool::harvest.

Enums§

GeneCategory
Instinct

Functions§

batch_convert
gene_to_tile
Gene → GeneTile. All gene fields preserved; tile fields derived from gene semantics.
tile_to_gene
GeneTile → Gene. Exact inverse — lossless by construction.