Enum stm32_metapac::i2c::vals::Smbtype
#[repr(u8)]pub enum Smbtype {
DEVICE = 0,
HOST = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Smbtype
impl Ord for Smbtype
§impl PartialOrd for Smbtype
impl PartialOrd for Smbtype
§fn partial_cmp(&self, other: &Smbtype) -> Option<Ordering>
fn partial_cmp(&self, other: &Smbtype) -> 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 Smbtype
impl Eq for Smbtype
impl StructuralPartialEq for Smbtype
Auto Trait Implementations§
impl Freeze for Smbtype
impl RefUnwindSafe for Smbtype
impl Send for Smbtype
impl Sync for Smbtype
impl Unpin for Smbtype
impl UnwindSafe for Smbtype
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