#[repr(C)]pub struct i2c_operation_job_t {
pub command: u32,
pub __bindgen_anon_1: i2c_operation_job_t__bindgen_ty_1,
}Expand description
@brief Structure representing an I2C operation job
This structure is used to define individual I2C operations (write or read) within a sequence of I2C master transactions.
Fields§
§command: u32< I2C command indicating the type of operation (START, WRITE, READ, or STOP)
__bindgen_anon_1: i2c_operation_job_t__bindgen_ty_1Trait Implementations§
Source§impl Clone for i2c_operation_job_t
impl Clone for i2c_operation_job_t
Source§fn clone(&self) -> i2c_operation_job_t
fn clone(&self) -> i2c_operation_job_t
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 Default for i2c_operation_job_t
impl Default for i2c_operation_job_t
Source§fn default() -> i2c_operation_job_t
fn default() -> i2c_operation_job_t
Returns the “default value” for a type. Read more
impl Copy for i2c_operation_job_t
Auto Trait Implementations§
impl Freeze for i2c_operation_job_t
impl RefUnwindSafe for i2c_operation_job_t
impl !Send for i2c_operation_job_t
impl !Sync for i2c_operation_job_t
impl Unpin for i2c_operation_job_t
impl UnsafeUnpin for i2c_operation_job_t
impl UnwindSafe for i2c_operation_job_t
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)