Struct esp_idf_hal::spi::SPI2

source ·
pub struct SPI2(_);

Implementations§

Safety

Care should be taken not to instantiate this peripheral instance, if it is already instantiated and used elsewhere

Trait Implementations§

Peripheral singleton type
Unsafely clone (duplicate) a peripheral singleton. Read more
Convert a value into a PeripheralRef. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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.