Enum rp_pac::clocks::vals::ClkRefCtrlSrc
source · #[repr(u8)]pub enum ClkRefCtrlSrc {
ROSC_CLKSRC_PH = 0,
CLKSRC_CLK_REF_AUX = 1,
XOSC_CLKSRC = 2,
_RESERVED_3 = 3,
}
Variants§
Implementations§
source§impl ClkRefCtrlSrc
impl ClkRefCtrlSrc
Trait Implementations§
source§impl Clone for ClkRefCtrlSrc
impl Clone for ClkRefCtrlSrc
source§fn clone(&self) -> ClkRefCtrlSrc
fn clone(&self) -> ClkRefCtrlSrc
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<ClkRefCtrlSrc> for u8
impl From<ClkRefCtrlSrc> for u8
source§fn from(val: ClkRefCtrlSrc) -> u8
fn from(val: ClkRefCtrlSrc) -> u8
Converts to this type from the input type.
source§impl From<u8> for ClkRefCtrlSrc
impl From<u8> for ClkRefCtrlSrc
source§fn from(val: u8) -> ClkRefCtrlSrc
fn from(val: u8) -> ClkRefCtrlSrc
Converts to this type from the input type.
source§impl Ord for ClkRefCtrlSrc
impl Ord for ClkRefCtrlSrc
source§fn cmp(&self, other: &ClkRefCtrlSrc) -> Ordering
fn cmp(&self, other: &ClkRefCtrlSrc) -> 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 ClkRefCtrlSrc
impl PartialEq for ClkRefCtrlSrc
source§impl PartialOrd for ClkRefCtrlSrc
impl PartialOrd for ClkRefCtrlSrc
impl Copy for ClkRefCtrlSrc
impl Eq for ClkRefCtrlSrc
impl StructuralPartialEq for ClkRefCtrlSrc
Auto Trait Implementations§
impl Freeze for ClkRefCtrlSrc
impl RefUnwindSafe for ClkRefCtrlSrc
impl Send for ClkRefCtrlSrc
impl Sync for ClkRefCtrlSrc
impl Unpin for ClkRefCtrlSrc
impl UnwindSafe for ClkRefCtrlSrc
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
)