equal
deleted
inserted
replaced
8 #[derive(Debug, Deserialize)] |
8 #[derive(Debug, Deserialize)] |
9 pub struct TileDesc { |
9 pub struct TileDesc { |
10 pub name: String, |
10 pub name: String, |
11 pub weight: Option<u8>, |
11 pub weight: Option<u8>, |
12 pub edges: [String; 4], |
12 pub edges: [String; 4], |
|
13 pub anti_match: Option<[u64; 4]>, |
13 pub is_negative: Option<bool>, |
14 pub is_negative: Option<bool>, |
14 pub can_flip: Option<bool>, |
15 pub can_flip: Option<bool>, |
15 pub can_mirror: Option<bool>, |
16 pub can_mirror: Option<bool>, |
16 pub can_rotate90: Option<bool>, |
17 pub can_rotate90: Option<bool>, |
17 pub can_rotate180: Option<bool>, |
18 pub can_rotate180: Option<bool>, |
101 top, |
102 top, |
102 right, |
103 right, |
103 bottom, |
104 bottom, |
104 left, |
105 left, |
105 }, |
106 }, |
|
107 anti_match: desc.anti_match, |
106 is_negative: desc.is_negative, |
108 is_negative: desc.is_negative, |
107 can_flip: desc.can_flip, |
109 can_flip: desc.can_flip, |
108 can_mirror: desc.can_mirror, |
110 can_mirror: desc.can_mirror, |
109 can_rotate90: desc.can_rotate90, |
111 can_rotate90: desc.can_rotate90, |
110 can_rotate180: desc.can_rotate180, |
112 can_rotate180: desc.can_rotate180, |