Enum stm32_metapac::syscfg::vals::Adc12Jext13Rmp
#[repr(u8)]pub enum Adc12Jext13Rmp {
TIM3 = 0,
TIM20 = 1,
}
Variants§
Implementations§
§impl Adc12Jext13Rmp
impl Adc12Jext13Rmp
pub const fn from_bits(val: u8) -> Adc12Jext13Rmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc12Jext13Rmp
impl Clone for Adc12Jext13Rmp
§fn clone(&self) -> Adc12Jext13Rmp
fn clone(&self) -> Adc12Jext13Rmp
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<Adc12Jext13Rmp> for u8
impl From<Adc12Jext13Rmp> for u8
§fn from(val: Adc12Jext13Rmp) -> u8
fn from(val: Adc12Jext13Rmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc12Jext13Rmp
impl From<u8> for Adc12Jext13Rmp
§fn from(val: u8) -> Adc12Jext13Rmp
fn from(val: u8) -> Adc12Jext13Rmp
Converts to this type from the input type.
§impl Ord for Adc12Jext13Rmp
impl Ord for Adc12Jext13Rmp
§impl PartialEq for Adc12Jext13Rmp
impl PartialEq for Adc12Jext13Rmp
§impl PartialOrd for Adc12Jext13Rmp
impl PartialOrd for Adc12Jext13Rmp
impl Copy for Adc12Jext13Rmp
impl Eq for Adc12Jext13Rmp
impl StructuralPartialEq for Adc12Jext13Rmp
Auto Trait Implementations§
impl Freeze for Adc12Jext13Rmp
impl RefUnwindSafe for Adc12Jext13Rmp
impl Send for Adc12Jext13Rmp
impl Sync for Adc12Jext13Rmp
impl Unpin for Adc12Jext13Rmp
impl UnwindSafe for Adc12Jext13Rmp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)