//! Display interface convienience factory methods
pubusedisplay_interface_i2c::I2CInterface;/// Wrapper for creating an I2CInterface with device-specific parameters
pubstructI2CDisplayInterface;implI2CDisplayInterface{/// Create a new I2CInterface for the ST7567S display
pubfnnew<I2C>(i2c: I2C)->I2CInterface<I2C>where
I2C:embedded_hal::blocking::i2c::Write,
{I2CInterface::new(i2c,0x3f,0x40)}}