Struct ctru_sys::PXIDEV_SPIBuffer
source · #[repr(C)]pub struct PXIDEV_SPIBuffer {
pub ptr: *mut c_void,
pub size: u32_,
pub transferOption: u8_,
pub waitOperation: u64_,
}
Expand description
Card SPI transfer buffer.
Fields§
§ptr: *mut c_void
< Data pointer.
size: u32_
< Data size.
transferOption: u8_
< Transfer options. See pxiDevMakeTransferOption
waitOperation: u64_
< Wait operation. See pxiDevMakeWaitOperation
Trait Implementations§
source§impl Clone for PXIDEV_SPIBuffer
impl Clone for PXIDEV_SPIBuffer
source§fn clone(&self) -> PXIDEV_SPIBuffer
fn clone(&self) -> PXIDEV_SPIBuffer
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 more