pub struct SPI_TRANSACTION;Trait Implementations§
Source§impl Clone for SPI_TRANSACTION
impl Clone for SPI_TRANSACTION
Source§fn clone(&self) -> SPI_TRANSACTION
fn clone(&self) -> SPI_TRANSACTION
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCommand for SPI_TRANSACTION
impl ControlCommand for SPI_TRANSACTION
const IDENTIFIER: ControlCommandIdentifier
Source§type Input = SpiTransactionInputAbi
type Input = SpiTransactionInputAbi
Command payload sent to the device. Must be plain data: a payload byte
pattern can never be an invalid value of the payload type.
Source§type Output = SpiTransactionOutputAbi
type Output = SpiTransactionOutputAbi
Command payload returned by the device. Must be plain data for the same
reason.
fn cast_input(input: &AnyByLayout) -> Result<&Self::Input, Kind>
fn cast_output(output: &mut AnyByLayout) -> Result<&mut Self::Output, Kind>
fn cast<'i, 'o>( input: &'i AnyByLayout, output: &'o mut AnyByLayout, ) -> Result<(&'i Self::Input, &'o mut Self::Output), Kind>
Source§impl Debug for SPI_TRANSACTION
impl Debug for SPI_TRANSACTION
impl Copy for SPI_TRANSACTION
Auto Trait Implementations§
impl Freeze for SPI_TRANSACTION
impl RefUnwindSafe for SPI_TRANSACTION
impl Send for SPI_TRANSACTION
impl Sync for SPI_TRANSACTION
impl Unpin for SPI_TRANSACTION
impl UnsafeUnpin for SPI_TRANSACTION
impl UnwindSafe for SPI_TRANSACTION
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