Enum stm32_metapac::i2c::vals::Smbus
#[repr(u8)]pub enum Smbus {
I2C = 0,
SMBUS = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Smbus
impl Ord for Smbus
§impl PartialOrd for Smbus
impl PartialOrd for Smbus
§fn partial_cmp(&self, other: &Smbus) -> Option<Ordering>
fn partial_cmp(&self, other: &Smbus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Smbus
impl Eq for Smbus
impl StructuralPartialEq for Smbus
Auto Trait Implementations§
impl Freeze for Smbus
impl RefUnwindSafe for Smbus
impl Send for Smbus
impl Sync for Smbus
impl Unpin for Smbus
impl UnwindSafe for Smbus
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