pub struct SpiDeviceWrapper<SPI> { /* private fields */ }Expand description
Wrapper that owns an SpiDevice
Implementations§
Source§impl<SPI> SpiDeviceWrapper<SPI>
impl<SPI> SpiDeviceWrapper<SPI>
Trait Implementations§
Source§impl<SPI> SpiTransport for SpiDeviceWrapper<SPI>
Blanket impl for embedded-hal v1 SpiDevice<u8>
impl<SPI> SpiTransport for SpiDeviceWrapper<SPI>
Blanket impl for embedded-hal v1 SpiDevice<u8>
Auto Trait Implementations§
impl<SPI> Freeze for SpiDeviceWrapper<SPI>where
SPI: Freeze,
impl<SPI> RefUnwindSafe for SpiDeviceWrapper<SPI>where
SPI: RefUnwindSafe,
impl<SPI> Send for SpiDeviceWrapper<SPI>where
SPI: Send,
impl<SPI> Sync for SpiDeviceWrapper<SPI>where
SPI: Sync,
impl<SPI> Unpin for SpiDeviceWrapper<SPI>where
SPI: Unpin,
impl<SPI> UnsafeUnpin for SpiDeviceWrapper<SPI>where
SPI: UnsafeUnpin,
impl<SPI> UnwindSafe for SpiDeviceWrapper<SPI>where
SPI: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more