pub enum SoftI2CAddr {
SevenBitAddress(u8),
TenBitAddress(u16),
}Expand description
Represents I2C addresses.
Variants§
Trait Implementations§
Source§impl Clone for SoftI2CAddr
impl Clone for SoftI2CAddr
Source§fn clone(&self) -> SoftI2CAddr
fn clone(&self) -> SoftI2CAddr
Returns a duplicate 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 SoftI2CAddr
impl Debug for SoftI2CAddr
impl Copy for SoftI2CAddr
Auto Trait Implementations§
impl Freeze for SoftI2CAddr
impl RefUnwindSafe for SoftI2CAddr
impl Send for SoftI2CAddr
impl Sync for SoftI2CAddr
impl Unpin for SoftI2CAddr
impl UnwindSafe for SoftI2CAddr
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