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