pub enum Flag {
None,
Start,
ReStart,
Stop,
StartAndStop,
ReStartAndStop,
}Expand description
Flags to indicate I2C bus conditions
Variants§
None
Normal condition
Start
START condition
ReStart
Repeated START condition
Stop
STOP condition
StartAndStop
START and STOP
ReStartAndStop
Repeated START and STOP
Trait Implementations§
impl Copy for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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