Enum stm32_metapac::adc::vals::Difsel10
#[repr(u8)]pub enum Difsel10 {
SINGLEENDED = 0,
DIFFERENTIAL = 1,
}
Variants§
SINGLEENDED = 0
Input channel is configured in single-ended mode
DIFFERENTIAL = 1
Input channel is configured in differential mode
Implementations§
Trait Implementations§
§impl Ord for Difsel10
impl Ord for Difsel10
§impl PartialOrd for Difsel10
impl PartialOrd for Difsel10
§fn partial_cmp(&self, other: &Difsel10) -> Option<Ordering>
fn partial_cmp(&self, other: &Difsel10) -> 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 Difsel10
impl Eq for Difsel10
impl StructuralEq for Difsel10
impl StructuralPartialEq for Difsel10
Auto Trait Implementations§
impl RefUnwindSafe for Difsel10
impl Send for Difsel10
impl Sync for Difsel10
impl Unpin for Difsel10
impl UnwindSafe for Difsel10
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