Expand description
Transactional I2C operation.
Several operations can be combined as part of a transaction.
Variants
Read(&'a mut [u8])
Read data into the provided buffer
Write(&'a [u8])
Write data from the provided buffer
Trait Implementations
impl<'a> StructuralPartialEq for Operation<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Operation<'a>
impl<'a> Send for Operation<'a>
impl<'a> Sync for Operation<'a>
impl<'a> Unpin for Operation<'a>
impl<'a> !UnwindSafe for Operation<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more