Enum embassy_stm32::rtc::RtcCalibrationCyclePeriod
source ยท #[repr(u8)]pub enum RtcCalibrationCyclePeriod {
Seconds8 = 0,
Seconds16 = 1,
Seconds32 = 2,
}
Expand description
Calibration cycle period.
Variantsยง
Seconds8 = 0
8-second calibration period
Seconds16 = 1
16-second calibration period
Seconds32 = 2
32-second calibration period
Trait Implementationsยง
sourceยงimpl Clone for RtcCalibrationCyclePeriod
impl Clone for RtcCalibrationCyclePeriod
sourceยงfn clone(&self) -> RtcCalibrationCyclePeriod
fn clone(&self) -> RtcCalibrationCyclePeriod
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 Debug for RtcCalibrationCyclePeriod
impl Debug for RtcCalibrationCyclePeriod
sourceยงimpl Default for RtcCalibrationCyclePeriod
impl Default for RtcCalibrationCyclePeriod
sourceยงfn default() -> RtcCalibrationCyclePeriod
fn default() -> RtcCalibrationCyclePeriod
Returns the โdefault valueโ for a type. Read more
sourceยงimpl PartialEq for RtcCalibrationCyclePeriod
impl PartialEq for RtcCalibrationCyclePeriod
sourceยงfn eq(&self, other: &RtcCalibrationCyclePeriod) -> bool
fn eq(&self, other: &RtcCalibrationCyclePeriod) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RtcCalibrationCyclePeriod
impl StructuralPartialEq for RtcCalibrationCyclePeriod
Auto Trait Implementationsยง
impl Freeze for RtcCalibrationCyclePeriod
impl RefUnwindSafe for RtcCalibrationCyclePeriod
impl Send for RtcCalibrationCyclePeriod
impl Sync for RtcCalibrationCyclePeriod
impl Unpin for RtcCalibrationCyclePeriod
impl UnwindSafe for RtcCalibrationCyclePeriod
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
)