pub enum I2cDirection {
MasterReadSlaveWrite = 0,
MasterWriteSlaveRead = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for I2cDirection
impl Clone for I2cDirection
Source§fn clone(&self) -> I2cDirection
fn clone(&self) -> I2cDirection
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 I2cDirection
impl Debug for I2cDirection
impl Copy for I2cDirection
Auto Trait Implementations§
impl Freeze for I2cDirection
impl RefUnwindSafe for I2cDirection
impl Send for I2cDirection
impl Sync for I2cDirection
impl Unpin for I2cDirection
impl UnwindSafe for I2cDirection
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