Enum rust_hdl_widgets::i2c::i2c_driver::I2CDriverCmd
source · pub enum I2CDriverCmd {
Noop,
SendStart,
SendTrue,
SendFalse,
SendStop,
GetBit,
Restart,
}
Variants§
Trait Implementations§
source§impl Clone for I2CDriverCmd
impl Clone for I2CDriverCmd
source§fn clone(&self) -> I2CDriverCmd
fn clone(&self) -> I2CDriverCmd
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 I2CDriverCmd
impl Debug for I2CDriverCmd
source§impl Default for I2CDriverCmd
impl Default for I2CDriverCmd
source§fn default() -> I2CDriverCmd
fn default() -> I2CDriverCmd
Returns the “default value” for a type. Read more
source§impl Into<Bits<LogicState>> for I2CDriverCmd
impl Into<Bits<LogicState>> for I2CDriverCmd
source§impl PartialEq<I2CDriverCmd> for I2CDriverCmd
impl PartialEq<I2CDriverCmd> for I2CDriverCmd
source§fn eq(&self, other: &I2CDriverCmd) -> bool
fn eq(&self, other: &I2CDriverCmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.