#[repr(C)]pub struct i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2 {
pub ack_value: i2c_ack_value_t,
pub data: *mut u8,
pub total_bytes: usize,
}Expand description
@brief Structure for READ command
Used when the command is set to I2C_MASTER_CMD_READ.
Fields§
§ack_value: i2c_ack_value_t< ACK value to send after the read (ACK or NACK)
data: *mut u8< Pointer to the buffer for storing the data read from the bus
total_bytes: usize< Total number of bytes to read
Trait Implementations§
Source§impl Clone for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl Clone for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
Source§fn clone(&self) -> i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
fn clone(&self) -> i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
Returns a duplicate 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 Debug for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl Debug for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
Source§impl Default for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl Default for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl Copy for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl RefUnwindSafe for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl !Send for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl !Sync for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl Unpin for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl UnsafeUnpin for i2c_operation_job_t__bindgen_ty_1__bindgen_ty_2
impl UnwindSafe for i2c_operation_job_t__bindgen_ty_1__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,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)