Type Definition omnisensor::i2c::I2CDeviceMap
source · [−]pub type I2CDeviceMap = HashMap<I2CDeviceParams, Weak<I2CDevice>>;
Expand description
Lookup table for finding I2CDevices. Weak<> because we only want them kept alive by (strong, Arc<>) references from Sensors so they get dropped when the last sensor using them goes away.