Enum rp_pac::clocks::vals::ClkRefCtrlSrc
source · #[repr(u8)]pub enum ClkRefCtrlSrc {
ROSC_CLKSRC_PH,
CLKSRC_CLK_REF_AUX,
XOSC_CLKSRC,
_RESERVED_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<ClkRefCtrlSrc> for ClkRefCtrlSrc
impl PartialEq<ClkRefCtrlSrc> for ClkRefCtrlSrc
source§fn eq(&self, other: &ClkRefCtrlSrc) -> bool
fn eq(&self, other: &ClkRefCtrlSrc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ClkRefCtrlSrc> for ClkRefCtrlSrc
impl PartialOrd<ClkRefCtrlSrc> for ClkRefCtrlSrc
source§fn partial_cmp(&self, other: &ClkRefCtrlSrc) -> Option<Ordering>
fn partial_cmp(&self, other: &ClkRefCtrlSrc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ClkRefCtrlSrc
impl Eq for ClkRefCtrlSrc
impl StructuralEq for ClkRefCtrlSrc
impl StructuralPartialEq for ClkRefCtrlSrc
Auto Trait Implementations§
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