Enum stm32_metapac::i2c::vals::Reload
#[repr(u8)]pub enum Reload {
COMPLETED = 0,
NOTCOMPLETED = 1,
}
Variants§
COMPLETED = 0
The transfer is completed after the NBYTES data transfer (STOP or RESTART will follow)
NOTCOMPLETED = 1
The transfer is not completed after the NBYTES data transfer (NBYTES will be reloaded)
Implementations§
Trait Implementations§
§impl Ord for Reload
impl Ord for Reload
§impl PartialOrd for Reload
impl PartialOrd for Reload
§fn partial_cmp(&self, other: &Reload) -> Option<Ordering>
fn partial_cmp(&self, other: &Reload) -> 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 Reload
impl Eq for Reload
impl StructuralEq for Reload
impl StructuralPartialEq for Reload
Auto Trait Implementations§
impl RefUnwindSafe for Reload
impl Send for Reload
impl Sync for Reload
impl Unpin for Reload
impl UnwindSafe for Reload
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