Struct I2cTransferResult
#[repr(C)]pub struct I2cTransferResult {
pub Status: I2cTransferStatus,
pub BytesTransferred: u32,
}
Fields§
§Status: I2cTransferStatus
§BytesTransferred: u32
Trait Implementations§
§impl Clone for I2cTransferResult
impl Clone for I2cTransferResult
§fn clone(&self) -> I2cTransferResult
fn clone(&self) -> I2cTransferResult
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 more§impl Debug for I2cTransferResult
impl Debug for I2cTransferResult
§impl Default for I2cTransferResult
impl Default for I2cTransferResult
§fn default() -> I2cTransferResult
fn default() -> I2cTransferResult
Returns the “default value” for a type. Read more
§impl PartialEq for I2cTransferResult
impl PartialEq for I2cTransferResult
impl Copy for I2cTransferResult
impl StructuralPartialEq for I2cTransferResult
Auto Trait Implementations§
impl Freeze for I2cTransferResult
impl RefUnwindSafe for I2cTransferResult
impl Send for I2cTransferResult
impl Sync for I2cTransferResult
impl Unpin for I2cTransferResult
impl UnwindSafe for I2cTransferResult
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