esp_idf_hal::i2c

Trait I2c

Source
pub trait I2c: Send {
    // Required method
    fn port() -> i2c_port_t;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl I2c for I2C0