#[repr(C)]pub struct i2c_rdwr_ioctl_data {
pub msgs: *mut i2c_msg,
pub nmsgs: c_int,
}
Expand description
This is the structure as used in the I2C_RDWR
ioctl call
Fields§
§msgs: *mut i2c_msg
ptr to array of simple messages
nmsgs: c_int
number of messages to exchange
Trait Implementations§
Source§impl Clone for i2c_rdwr_ioctl_data
impl Clone for i2c_rdwr_ioctl_data
Source§fn clone(&self) -> i2c_rdwr_ioctl_data
fn clone(&self) -> i2c_rdwr_ioctl_data
Returns a copy of the value. Read more
1.0.0 · 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 i2c_rdwr_ioctl_data
impl Debug for i2c_rdwr_ioctl_data
impl Copy for i2c_rdwr_ioctl_data
Auto Trait Implementations§
impl Freeze for i2c_rdwr_ioctl_data
impl RefUnwindSafe for i2c_rdwr_ioctl_data
impl !Send for i2c_rdwr_ioctl_data
impl !Sync for i2c_rdwr_ioctl_data
impl Unpin for i2c_rdwr_ioctl_data
impl UnwindSafe for i2c_rdwr_ioctl_data
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