Enum stm32_metapac::syscfg::vals::Adc34Jext14Rmp
#[repr(u8)]pub enum Adc34Jext14Rmp {
TIM7 = 0,
TIM20 = 1,
}
Variants§
Implementations§
§impl Adc34Jext14Rmp
impl Adc34Jext14Rmp
pub const fn from_bits(val: u8) -> Adc34Jext14Rmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc34Jext14Rmp
impl Clone for Adc34Jext14Rmp
§fn clone(&self) -> Adc34Jext14Rmp
fn clone(&self) -> Adc34Jext14Rmp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<Adc34Jext14Rmp> for u8
impl From<Adc34Jext14Rmp> for u8
§fn from(val: Adc34Jext14Rmp) -> u8
fn from(val: Adc34Jext14Rmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc34Jext14Rmp
impl From<u8> for Adc34Jext14Rmp
§fn from(val: u8) -> Adc34Jext14Rmp
fn from(val: u8) -> Adc34Jext14Rmp
Converts to this type from the input type.
§impl Ord for Adc34Jext14Rmp
impl Ord for Adc34Jext14Rmp
§impl PartialEq for Adc34Jext14Rmp
impl PartialEq for Adc34Jext14Rmp
§fn eq(&self, other: &Adc34Jext14Rmp) -> bool
fn eq(&self, other: &Adc34Jext14Rmp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Adc34Jext14Rmp
impl PartialOrd for Adc34Jext14Rmp
§fn partial_cmp(&self, other: &Adc34Jext14Rmp) -> Option<Ordering>
fn partial_cmp(&self, other: &Adc34Jext14Rmp) -> 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 Adc34Jext14Rmp
impl Eq for Adc34Jext14Rmp
impl StructuralEq for Adc34Jext14Rmp
impl StructuralPartialEq for Adc34Jext14Rmp
Auto Trait Implementations§
impl RefUnwindSafe for Adc34Jext14Rmp
impl Send for Adc34Jext14Rmp
impl Sync for Adc34Jext14Rmp
impl Unpin for Adc34Jext14Rmp
impl UnwindSafe for Adc34Jext14Rmp
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