pub struct I2cByte {
pub data: u8,
pub status: I2cStatus,
}
Expand description
A single byte of I2C Data, including ACK or NAK state
Fields§
§data: u8
§status: I2cStatus
Trait Implementations§
impl Eq for I2cByte
impl StructuralPartialEq for I2cByte
Auto Trait Implementations§
impl Freeze for I2cByte
impl RefUnwindSafe for I2cByte
impl Send for I2cByte
impl Sync for I2cByte
impl Unpin for I2cByte
impl UnwindSafe for I2cByte
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