Enum stm32_metapac::adc::vals::Ovsr
#[repr(u8)]pub enum Ovsr {
X2 = 0,
X4 = 1,
X8 = 2,
X16 = 3,
X32 = 4,
X64 = 5,
X128 = 6,
X256 = 7,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Ovsr
impl Ord for Ovsr
§impl PartialOrd for Ovsr
impl PartialOrd for Ovsr
§fn partial_cmp(&self, other: &Ovsr) -> Option<Ordering>
fn partial_cmp(&self, other: &Ovsr) -> 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 Ovsr
impl Eq for Ovsr
impl StructuralEq for Ovsr
impl StructuralPartialEq for Ovsr
Auto Trait Implementations§
impl RefUnwindSafe for Ovsr
impl Send for Ovsr
impl Sync for Ovsr
impl Unpin for Ovsr
impl UnwindSafe for Ovsr
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