pub enum I2CControllerCmd {
Noop,
BeginWrite,
Write,
BeginRead,
Read,
EndTransmission,
ReadLast,
}
Variants§
Trait Implementations§
source§impl Clone for I2CControllerCmd
impl Clone for I2CControllerCmd
source§fn clone(&self) -> I2CControllerCmd
fn clone(&self) -> I2CControllerCmd
Returns a copy 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 I2CControllerCmd
impl Debug for I2CControllerCmd
source§impl Default for I2CControllerCmd
impl Default for I2CControllerCmd
source§fn default() -> I2CControllerCmd
fn default() -> I2CControllerCmd
Returns the “default value” for a type. Read more
source§impl Into<Bits<LogicState>> for I2CControllerCmd
impl Into<Bits<LogicState>> for I2CControllerCmd
source§impl PartialEq<I2CControllerCmd> for I2CControllerCmd
impl PartialEq<I2CControllerCmd> for I2CControllerCmd
source§fn eq(&self, other: &I2CControllerCmd) -> bool
fn eq(&self, other: &I2CControllerCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.