#[repr(u8)]pub enum SrccopySrc {
LFRC = 0,
LFXO = 1,
LFSYNT = 2,
_RESERVED_3 = 3,
}
Variants§
LFRC = 0
32.768 kHz RC oscillator
LFXO = 1
32.768 kHz crystal oscillator
LFSYNT = 2
32.768 kHz synthesized from HFCLK
_RESERVED_3 = 3
Implementations§
Source§impl SrccopySrc
impl SrccopySrc
Trait Implementations§
Source§impl Clone for SrccopySrc
impl Clone for SrccopySrc
Source§fn clone(&self) -> SrccopySrc
fn clone(&self) -> SrccopySrc
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 moreSource§impl From<SrccopySrc> for u8
impl From<SrccopySrc> for u8
Source§fn from(val: SrccopySrc) -> u8
fn from(val: SrccopySrc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SrccopySrc
impl From<u8> for SrccopySrc
Source§fn from(val: u8) -> SrccopySrc
fn from(val: u8) -> SrccopySrc
Converts to this type from the input type.
Source§impl Ord for SrccopySrc
impl Ord for SrccopySrc
Source§fn cmp(&self, other: &SrccopySrc) -> Ordering
fn cmp(&self, other: &SrccopySrc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SrccopySrc
impl PartialEq for SrccopySrc
Source§impl PartialOrd for SrccopySrc
impl PartialOrd for SrccopySrc
impl Copy for SrccopySrc
impl Eq for SrccopySrc
impl StructuralPartialEq for SrccopySrc
Auto Trait Implementations§
impl Freeze for SrccopySrc
impl RefUnwindSafe for SrccopySrc
impl Send for SrccopySrc
impl Sync for SrccopySrc
impl Unpin for SrccopySrc
impl UnwindSafe for SrccopySrc
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
)