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
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)