#[repr(C)]
pub union spi_transaction_t__bindgen_ty_2 {
pub rx_buffer: *mut c_void,
pub rx_data: [u8; 4],
}
Fields§
§rx_buffer: *mut c_void
< Pointer to receive buffer, or NULL for no MISO phase. Written by 4 bytes-unit if DMA is used.
rx_data: [u8; 4]
< If SPI_TRANS_USE_RXDATA is set, data is received directly to this variable
Trait Implementations§
source§impl Clone for spi_transaction_t__bindgen_ty_2
impl Clone for spi_transaction_t__bindgen_ty_2
source§fn clone(&self) -> spi_transaction_t__bindgen_ty_2
fn clone(&self) -> spi_transaction_t__bindgen_ty_2
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for spi_transaction_t__bindgen_ty_2
impl Default for spi_transaction_t__bindgen_ty_2
impl Copy for spi_transaction_t__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for spi_transaction_t__bindgen_ty_2
impl RefUnwindSafe for spi_transaction_t__bindgen_ty_2
impl !Send for spi_transaction_t__bindgen_ty_2
impl !Sync for spi_transaction_t__bindgen_ty_2
impl Unpin for spi_transaction_t__bindgen_ty_2
impl UnwindSafe for spi_transaction_t__bindgen_ty_2
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)