Trait mlx9064x::common::FromI2C [−][src]
pub trait FromI2C<I2C> {
type Error;
type Ok;
fn from_i2c(bus: &mut I2C, i2c_address: u8) -> Result<Self::Ok, Self::Error>;
}
Expand description
A trait for types that can be created by reading data from an I²C device.