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

@@ -2,7 +2,7 @@ use std::error::Error;
use std::fmt;
use std::str::FromStr;
#[derive(Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Position {
pub x: u8,
pub y: u8,