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