Enum embassy_stm32::rcc::mux::Lpusartsel
#[repr(u8)]pub enum Lpusartsel {
PCLK3 = 0,
SYS = 1,
HSI = 2,
LSE = 3,
MSIK = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variantsยง
PCLK3 = 0
PCLK3 selected
SYS = 1
SYSCLK selected
HSI = 2
HSI selected
LSE = 3
LSE selected
MSIK = 4
MSIK selected
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementationsยง
ยงimpl Lpusartsel
impl Lpusartsel
pub const fn from_bits(val: u8) -> Lpusartsel
pub const fn to_bits(self) -> u8
Trait Implementationsยง
ยงimpl Clone for Lpusartsel
impl Clone for Lpusartsel
ยงfn clone(&self) -> Lpusartsel
fn clone(&self) -> Lpusartsel
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 Lpusartsel
impl From<u8> for Lpusartsel
ยงfn from(val: u8) -> Lpusartsel
fn from(val: u8) -> Lpusartsel
Converts to this type from the input type.
ยงimpl Ord for Lpusartsel
impl Ord for Lpusartsel
ยงimpl PartialEq for Lpusartsel
impl PartialEq for Lpusartsel
ยงimpl PartialOrd for Lpusartsel
impl PartialOrd for Lpusartsel
impl Copy for Lpusartsel
impl Eq for Lpusartsel
impl StructuralPartialEq for Lpusartsel
Auto Trait Implementationsยง
impl Freeze for Lpusartsel
impl RefUnwindSafe for Lpusartsel
impl Send for Lpusartsel
impl Sync for Lpusartsel
impl Unpin for Lpusartsel
impl UnwindSafe for Lpusartsel
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
)