Struct esp32c3_hal::rtc_cntl::sleep::TimerWakeupSource
source · pub struct TimerWakeupSource { /* private fields */ }
Implementations§
source§impl TimerWakeupSource
impl TimerWakeupSource
pub fn new(duration: Duration) -> TimerWakeupSource
Trait Implementations§
source§impl Clone for TimerWakeupSource
impl Clone for TimerWakeupSource
source§fn clone(&self) -> TimerWakeupSource
fn clone(&self) -> TimerWakeupSource
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 TimerWakeupSource
impl Debug for TimerWakeupSource
source§impl Default for TimerWakeupSource
impl Default for TimerWakeupSource
source§fn default() -> TimerWakeupSource
fn default() -> TimerWakeupSource
Returns the “default value” for a type. Read more
source§impl WakeSource for TimerWakeupSource
impl WakeSource for TimerWakeupSource
fn apply( &self, rtc: &Rtc<'_>, triggers: &mut WakeTriggers, _sleep_config: &mut RtcSleepConfig )
impl Copy for TimerWakeupSource
Auto Trait Implementations§
impl RefUnwindSafe for TimerWakeupSource
impl Send for TimerWakeupSource
impl Sync for TimerWakeupSource
impl Unpin for TimerWakeupSource
impl UnwindSafe for TimerWakeupSource
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