Enum stm32_metapac::i2c::vals::Pos
#[repr(u8)]pub enum Pos {
CURRENT = 0,
NEXT = 1,
}
Variants§
CURRENT = 0
ACK bit controls the (N)ACK of the current byte being received
NEXT = 1
ACK bit controls the (N)ACK of the next byte to be received
Implementations§
Trait Implementations§
§impl Ord for Pos
impl Ord for Pos
§impl PartialOrd for Pos
impl PartialOrd for Pos
§fn partial_cmp(&self, other: &Pos) -> Option<Ordering>
fn partial_cmp(&self, other: &Pos) -> 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 Pos
impl Eq for Pos
impl StructuralPartialEq for Pos
Auto Trait Implementations§
impl Freeze for Pos
impl RefUnwindSafe for Pos
impl Send for Pos
impl Sync for Pos
impl Unpin for Pos
impl UnwindSafe for Pos
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