Struct ds323x::interface::SpiInterface
source · pub struct SpiInterface<SPI, CS> { /* private fields */ }
Expand description
SPI interface
Trait Implementations
sourceimpl<SPI: Debug, CS: Debug> Debug for SpiInterface<SPI, CS>
impl<SPI: Debug, CS: Debug> Debug for SpiInterface<SPI, CS>
sourceimpl<SPI: Default, CS: Default> Default for SpiInterface<SPI, CS>
impl<SPI: Default, CS: Default> Default for SpiInterface<SPI, CS>
sourcefn default() -> SpiInterface<SPI, CS>
fn default() -> SpiInterface<SPI, CS>
Returns the “default value” for a type. Read more
sourceimpl<SPI, CS, E> ReadData for SpiInterface<SPI, CS>where
SPI: Transfer<u8, Error = E>,
CS: OutputPin,
impl<SPI, CS, E> ReadData for SpiInterface<SPI, CS>where
SPI: Transfer<u8, Error = E>,
CS: OutputPin,
Auto Trait Implementations
impl<SPI, CS> RefUnwindSafe for SpiInterface<SPI, CS>where
CS: RefUnwindSafe,
SPI: RefUnwindSafe,
impl<SPI, CS> Send for SpiInterface<SPI, CS>where
CS: Send,
SPI: Send,
impl<SPI, CS> Sync for SpiInterface<SPI, CS>where
CS: Sync,
SPI: Sync,
impl<SPI, CS> Unpin for SpiInterface<SPI, CS>where
CS: Unpin,
SPI: Unpin,
impl<SPI, CS> UnwindSafe for SpiInterface<SPI, CS>where
CS: UnwindSafe,
SPI: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more