Enum stm32_metapac::opamp::vals::Opaintoen
#[repr(u8)]pub enum Opaintoen {
OUTPUTPIN = 0,
ADCCHANNEL = 1,
}
Variants§
OUTPUTPIN = 0
Output is connected to the output Pin
ADCCHANNEL = 1
Output is connected internally to ADC channel
Implementations§
Trait Implementations§
§impl Ord for Opaintoen
impl Ord for Opaintoen
§impl PartialOrd for Opaintoen
impl PartialOrd for Opaintoen
§fn partial_cmp(&self, other: &Opaintoen) -> Option<Ordering>
fn partial_cmp(&self, other: &Opaintoen) -> 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 Opaintoen
impl Eq for Opaintoen
impl StructuralEq for Opaintoen
impl StructuralPartialEq for Opaintoen
Auto Trait Implementations§
impl RefUnwindSafe for Opaintoen
impl Send for Opaintoen
impl Sync for Opaintoen
impl Unpin for Opaintoen
impl UnwindSafe for Opaintoen
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