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