#[repr(C)]pub struct SpiTransferInputAbi {
pub version: u16,
pub length: u16,
pub tx: [u8; 64],
}Expand description
Input of SPI_TRANSFER: length bytes of tx are sent while the same
number of bytes is received into SpiTransferOutputAbi::rx.
Fields§
§version: u16§length: u16§tx: [u8; 64]Trait Implementations§
Source§impl Clone for SpiTransferInputAbi
impl Clone for SpiTransferInputAbi
Source§fn clone(&self) -> SpiTransferInputAbi
fn clone(&self) -> SpiTransferInputAbi
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 Debug for SpiTransferInputAbi
impl Debug for SpiTransferInputAbi
Source§impl PartialEq for SpiTransferInputAbi
impl PartialEq for SpiTransferInputAbi
Source§fn eq(&self, other: &SpiTransferInputAbi) -> bool
fn eq(&self, other: &SpiTransferInputAbi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpiTransferInputAbi
impl Eq for SpiTransferInputAbi
impl PlainData for SpiTransferInputAbi
impl StructuralPartialEq for SpiTransferInputAbi
Auto Trait Implementations§
impl Freeze for SpiTransferInputAbi
impl RefUnwindSafe for SpiTransferInputAbi
impl Send for SpiTransferInputAbi
impl Sync for SpiTransferInputAbi
impl Unpin for SpiTransferInputAbi
impl UnsafeUnpin for SpiTransferInputAbi
impl UnwindSafe for SpiTransferInputAbi
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