[][src]Struct nrf52840_platform::i2c::I2cMapping

pub struct I2cMapping<SDA, SCL>(_, _);

Trait Implementations

impl<SDA: Clone, SCL: Clone> Clone for I2cMapping<SDA, SCL>[src]

impl<SDA: Copy, SCL: Copy> Copy for I2cMapping<SDA, SCL>[src]

impl<SDA: Debug, SCL: Debug> Debug for I2cMapping<SDA, SCL>[src]

impl I2cBusMapping<Pin<P0_26<Input<Floating>>>, Pin<P0_27<Input<Floating>>>> for I2cMapping<Pin<P0_26<Input<Floating>>>, Pin<P0_27<Input<Floating>>>>[src]

type Error = Error

The common error type for I²C operations. Read more

type Bus = I2c

The I²C bus that will be produced once initialization based off of this mapping succeeds.

Auto Trait Implementations

impl<SDA, SCL> Send for I2cMapping<SDA, SCL> where
    SCL: Send,
    SDA: Send

impl<SDA, SCL> Sync for I2cMapping<SDA, SCL> where
    SCL: Sync,
    SDA: Sync

impl<SDA, SCL> Unpin for I2cMapping<SDA, SCL> where
    SCL: Unpin,
    SDA: Unpin

Blanket Implementations

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

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

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

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

impl<A, SDA, SCL> I2cBusMappingExt<SDA, SCL> for A where
    A: I2cBusMapping<SDA, SCL>,
    SCL: Unpin,
    SDA: Unpin
[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.