1 2 3 4 5 6 7 8 9 10 11 12 13 14
cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5 cc687c3f75c5
use std::collections::HashMap; use crate::PortId; struct PortDesc { port_id: u32, owning_connector_id: u32, } pub(crate) struct Registry { connector_counter: u32, port_counter: u32, ports: HashMap<PortId, PortDesc> }