Genome restructurized

This commit is contained in:
rendo 2026-03-26 12:12:54 +05:00
commit 23d9ab696c
5 changed files with 109 additions and 20 deletions

View file

@ -0,0 +1,13 @@
#[derive(PartialEq,Eq,Clone)]
pub struct Gene {
pub place: String,
pub kind: GeneType
}
#[derive(PartialEq,Eq,Clone)]
pub enum GeneType {
Producer,
Transport,
Consumer,
Modifier,
}