1 2 3 4 5 6 7 8 9
use crate::gate::*; use crate::pin::*; use std::collections::HashMap; pub type PinValue = u8; pub type Pins = Vec<Pin>; pub type Gates = HashMap<usize, Gate>; pub type Chips = Vec<Chip>; pub type Connections = HashMap<usize, Vec<usize>>;