Struct embedded_hal_compat::Reverse[][src]

pub struct Reverse<T> { /* fields omitted */ }
Expand description

Reverse compatibility container object. This is generic over different E-H types and will provide adaption depending on the bound type.

Implementations

Create a new compatibility wrapper object

Fetch a reference to the wrapped object

Fetch a mutable reference to the wrapped object

Destroy the compatibility wrapper, returning the wrapped object

Trait Implementations

Pauses execution for ms milliseconds

Pauses execution for ms milliseconds

Pauses execution for us microseconds

Pauses execution for us microseconds

Is the input pin high?

Is the input pin low?

Error type

Set the output as high

Set the output as low

Error type

Drives the pin high or low depending on the provided value Read more

Error type

Reads enough bytes from slave with address to fill buffer Read more

Error type

Sends words to the slave. Returns the words received from the slave

Error type

Writes bytes to slave with address address Read more

The type of error that can occur when writing

Writes a slice, blocking until everything has been written Read more

Block until the serial interface has sent all buffered words

Error type

Sends words to the slave, ignoring all the incoming words

Error type

Writes bytes to slave with address address Read more

Error type

Sends words to the slave, ignoring all the incoming words

Error type

Writes bytes to slave with address address and then reads enough bytes to fill buffer in a single transaction Read more

Error type

Writes bytes to slave with address address and then reads enough bytes to fill buffer in a single transaction Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.