#[non_exhaustive]pub enum XtalClock {
RtcXtalFreq24M,
RtcXtalFreq26M,
RtcXtalFreq40M,
RtcXtalFreqOther(u32),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for XtalClock
Auto Trait Implementations§
impl RefUnwindSafe for XtalClock
impl Send for XtalClock
impl Sync for XtalClock
impl Unpin for XtalClock
impl UnwindSafe for XtalClock
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