Enum stm32_metapac::adc::vals::Ovrmod
#[repr(u8)]pub enum Ovrmod {
PRESERVE = 0,
OVERWRITE = 1,
}
Variants§
PRESERVE = 0
Preserve DR register when an overrun is detected
OVERWRITE = 1
Overwrite DR register when an overrun is detected
Implementations§
Trait Implementations§
§impl Ord for Ovrmod
impl Ord for Ovrmod
§impl PartialOrd for Ovrmod
impl PartialOrd for Ovrmod
§fn partial_cmp(&self, other: &Ovrmod) -> Option<Ordering>
fn partial_cmp(&self, other: &Ovrmod) -> 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 Ovrmod
impl Eq for Ovrmod
impl StructuralEq for Ovrmod
impl StructuralPartialEq for Ovrmod
Auto Trait Implementations§
impl RefUnwindSafe for Ovrmod
impl Send for Ovrmod
impl Sync for Ovrmod
impl Unpin for Ovrmod
impl UnwindSafe for Ovrmod
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