Struct windows::Devices::I2c::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
§impl PartialEq for I2cTransferResult
impl PartialEq for I2cTransferResult
§fn eq(&self, other: &I2cTransferResult) -> bool
fn eq(&self, other: &I2cTransferResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for I2cTransferResult
impl Eq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)