#[repr(u8)]pub enum Misc0SetRtcXtalSource {
RTC_XTAL_SOURCE_0 = 0,
RTC_XTAL_SOURCE_1 = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Misc0SetRtcXtalSource
impl Clone for Misc0SetRtcXtalSource
Source§fn clone(&self) -> Misc0SetRtcXtalSource
fn clone(&self) -> Misc0SetRtcXtalSource
Returns a duplicate 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 Debug for Misc0SetRtcXtalSource
impl Debug for Misc0SetRtcXtalSource
Source§impl From<Misc0SetRtcXtalSource> for u8
impl From<Misc0SetRtcXtalSource> for u8
Source§fn from(val: Misc0SetRtcXtalSource) -> u8
fn from(val: Misc0SetRtcXtalSource) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Misc0SetRtcXtalSource
impl From<u8> for Misc0SetRtcXtalSource
Source§fn from(val: u8) -> Misc0SetRtcXtalSource
fn from(val: u8) -> Misc0SetRtcXtalSource
Converts to this type from the input type.
Source§impl Ord for Misc0SetRtcXtalSource
impl Ord for Misc0SetRtcXtalSource
Source§fn cmp(&self, other: &Misc0SetRtcXtalSource) -> Ordering
fn cmp(&self, other: &Misc0SetRtcXtalSource) -> 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 Misc0SetRtcXtalSource
impl PartialEq for Misc0SetRtcXtalSource
Source§impl PartialOrd for Misc0SetRtcXtalSource
impl PartialOrd for Misc0SetRtcXtalSource
impl Copy for Misc0SetRtcXtalSource
impl Eq for Misc0SetRtcXtalSource
impl StructuralPartialEq for Misc0SetRtcXtalSource
Auto Trait Implementations§
impl Freeze for Misc0SetRtcXtalSource
impl RefUnwindSafe for Misc0SetRtcXtalSource
impl Send for Misc0SetRtcXtalSource
impl Sync for Misc0SetRtcXtalSource
impl Unpin for Misc0SetRtcXtalSource
impl UnwindSafe for Misc0SetRtcXtalSource
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