Enum stm32_metapac::opamp::vals::Opalpm
#[repr(u8)]pub enum Opalpm {
NORMAL = 0,
LOWPOWER = 1,
}
Variants§
NORMAL = 0
operational amplifier in normal mode.
LOWPOWER = 1
operational amplifier in low-power mode.
Implementations§
Trait Implementations§
§impl Ord for Opalpm
impl Ord for Opalpm
§impl PartialOrd for Opalpm
impl PartialOrd for Opalpm
§fn partial_cmp(&self, other: &Opalpm) -> Option<Ordering>
fn partial_cmp(&self, other: &Opalpm) -> 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 Opalpm
impl Eq for Opalpm
impl StructuralEq for Opalpm
impl StructuralPartialEq for Opalpm
Auto Trait Implementations§
impl RefUnwindSafe for Opalpm
impl Send for Opalpm
impl Sync for Opalpm
impl Unpin for Opalpm
impl UnwindSafe for Opalpm
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