Enum stm32_metapac::syscfg::vals::Adc34Ext6Rmp
#[repr(u8)]pub enum Adc34Ext6Rmp {
TIM4 = 0,
TIM20 = 1,
}
Variants§
Implementations§
§impl Adc34Ext6Rmp
impl Adc34Ext6Rmp
pub const fn from_bits(val: u8) -> Adc34Ext6Rmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc34Ext6Rmp
impl Clone for Adc34Ext6Rmp
§fn clone(&self) -> Adc34Ext6Rmp
fn clone(&self) -> Adc34Ext6Rmp
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<Adc34Ext6Rmp> for u8
impl From<Adc34Ext6Rmp> for u8
§fn from(val: Adc34Ext6Rmp) -> u8
fn from(val: Adc34Ext6Rmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc34Ext6Rmp
impl From<u8> for Adc34Ext6Rmp
§fn from(val: u8) -> Adc34Ext6Rmp
fn from(val: u8) -> Adc34Ext6Rmp
Converts to this type from the input type.
§impl Ord for Adc34Ext6Rmp
impl Ord for Adc34Ext6Rmp
§impl PartialEq for Adc34Ext6Rmp
impl PartialEq for Adc34Ext6Rmp
§impl PartialOrd for Adc34Ext6Rmp
impl PartialOrd for Adc34Ext6Rmp
impl Copy for Adc34Ext6Rmp
impl Eq for Adc34Ext6Rmp
impl StructuralPartialEq for Adc34Ext6Rmp
Auto Trait Implementations§
impl Freeze for Adc34Ext6Rmp
impl RefUnwindSafe for Adc34Ext6Rmp
impl Send for Adc34Ext6Rmp
impl Sync for Adc34Ext6Rmp
impl Unpin for Adc34Ext6Rmp
impl UnwindSafe for Adc34Ext6Rmp
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
)