add rule copy button

This commit is contained in:
Crispy 2024-05-04 11:22:18 +02:00
parent e2869af4a7
commit 3d9fd8d311
2 changed files with 15 additions and 4 deletions

View file

@ -18,7 +18,7 @@ pub struct Chunk {
pub contents: Box<[[Cell; CHUNK_SIZE]; CHUNK_SIZE]>,
}
#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Rule {
#[serde(default)]
pub name: String,