implement Clone

This commit is contained in:
2020-05-31 16:12:23 +01:00
parent ea09d06b35
commit 4ed5ed3d65
16 changed files with 19 additions and 19 deletions

View File

@@ -36,13 +36,13 @@ use text::{Font, TextDirection};
use tile::Tile;
use variable::Variable;
#[derive(Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Instance {
position: Position,
id: String, // item / ending.rs id
}
#[derive(Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct ExitInstance {
position: Position,
exit: Exit,