[][src]Struct sh1106::interface::i2c::I2cInterface

pub struct I2cInterface<I2C> { /* fields omitted */ }

SH1106 I2C communication interface

Methods

impl<I2C> I2cInterface<I2C> where
    I2C: Write
[src]

pub fn new(i2c: I2C, addr: u8) -> Self[src]

Create new sh1106 I2C interface

Trait Implementations

impl<I2C, CommE> DisplayInterface for I2cInterface<I2C> where
    I2C: Write<Error = CommE>, 
[src]

type Error = Error<CommE, ()>

Interface error type

Auto Trait Implementations

impl<I2C> Send for I2cInterface<I2C> where
    I2C: Send

impl<I2C> Sync for I2cInterface<I2C> where
    I2C: Sync

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]