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