summaryrefslogtreecommitdiff
path: root/src/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types.rs b/src/types.rs
index 5425649..dd5758f 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -4,6 +4,6 @@ use std::collections::HashMap;
pub type PinValue = u8;
pub type Pins = Vec<Pin>;
-pub type Gates = Vec<Gate>;
+pub type Gates = HashMap<usize, Gate>;
pub type Chips = Vec<Chip>;
-pub type Connections = HashMap<Pin, Vec<Pin>>;
+pub type Connections = HashMap<usize, Vec<usize>>;