Struct pn532::spi::SPIInterface
source · pub struct SPIInterface<SPI, CS>{
pub spi: SPI,
pub cs: CS,
}
Expand description
SPI Interface without IRQ pin
Fields§
§spi: SPI
§cs: CS
Trait Implementations§
source§impl<SPI, CS> Clone for SPIInterface<SPI, CS>
impl<SPI, CS> Clone for SPIInterface<SPI, CS>
source§fn clone(&self) -> SPIInterface<SPI, CS>
fn clone(&self) -> SPIInterface<SPI, CS>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<SPI, CS> Debug for SPIInterface<SPI, CS>
impl<SPI, CS> Debug for SPIInterface<SPI, CS>
Auto Trait Implementations§
impl<SPI, CS> Freeze for SPIInterface<SPI, CS>
impl<SPI, CS> RefUnwindSafe for SPIInterface<SPI, CS>where
CS: RefUnwindSafe,
SPI: RefUnwindSafe,
impl<SPI, CS> Send for SPIInterface<SPI, CS>
impl<SPI, CS> Sync for SPIInterface<SPI, CS>
impl<SPI, CS> Unpin for SPIInterface<SPI, CS>
impl<SPI, CS> UnwindSafe for SPIInterface<SPI, CS>where
CS: UnwindSafe,
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