#[repr(u8)]pub enum Automatchread {
I2C_WRITE = 0,
I2C_READ = 1,
}Variants§
I2C_WRITE = 0
The expected next operation in Automatic Mode is an I2C write.
I2C_READ = 1
The expected next operation in Automatic Mode is an I2C read.
Implementations§
Source§impl Automatchread
impl Automatchread
Trait Implementations§
Source§impl Clone for Automatchread
impl Clone for Automatchread
Source§fn clone(&self) -> Automatchread
fn clone(&self) -> Automatchread
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 Automatchread
impl Debug for Automatchread
Source§impl From<Automatchread> for u8
impl From<Automatchread> for u8
Source§fn from(val: Automatchread) -> u8
fn from(val: Automatchread) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Automatchread
impl From<u8> for Automatchread
Source§fn from(val: u8) -> Automatchread
fn from(val: u8) -> Automatchread
Converts to this type from the input type.
Source§impl Ord for Automatchread
impl Ord for Automatchread
Source§fn cmp(&self, other: &Automatchread) -> Ordering
fn cmp(&self, other: &Automatchread) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Automatchread
impl PartialEq for Automatchread
Source§impl PartialOrd for Automatchread
impl PartialOrd for Automatchread
impl Copy for Automatchread
impl Eq for Automatchread
impl StructuralPartialEq for Automatchread
Auto Trait Implementations§
impl Freeze for Automatchread
impl RefUnwindSafe for Automatchread
impl Send for Automatchread
impl Sync for Automatchread
impl Unpin for Automatchread
impl UnwindSafe for Automatchread
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