pub enum SlaveCommandKind {
GeneralCall,
Read,
Write,
}Expand description
Direction of a transaction started by the I2C master.
Variants§
GeneralCall
General call address was matched; treat it as a write.
Read
Master is reading from this slave.
Write
Master is writing to this slave.
Trait Implementations§
Source§impl Clone for SlaveCommandKind
impl Clone for SlaveCommandKind
Source§fn clone(&self) -> SlaveCommandKind
fn clone(&self) -> SlaveCommandKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SlaveCommandKind
Source§impl Debug for SlaveCommandKind
impl Debug for SlaveCommandKind
impl Eq for SlaveCommandKind
Source§impl PartialEq for SlaveCommandKind
impl PartialEq for SlaveCommandKind
impl StructuralPartialEq for SlaveCommandKind
Auto Trait Implementations§
impl Freeze for SlaveCommandKind
impl RefUnwindSafe for SlaveCommandKind
impl Send for SlaveCommandKind
impl Sync for SlaveCommandKind
impl Unpin for SlaveCommandKind
impl UnsafeUnpin for SlaveCommandKind
impl UnwindSafe for SlaveCommandKind
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)