Struct time::TimerConfig
source · pub struct TimerConfig {
pub cycles: TimerCycles,
pub cycles_count: TimerLoop,
pub handler: TimerChangedHandler,
}Expand description
The timer configuration.
Fields§
§cycles: TimerCycles§cycles_count: TimerLoop§handler: TimerChangedHandlerTrait Implementations§
source§impl Clone for TimerConfig
impl Clone for TimerConfig
source§fn clone(&self) -> TimerConfig
fn clone(&self) -> TimerConfig
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TimerConfig
impl Send for TimerConfig
impl Sync for TimerConfig
impl Unpin for TimerConfig
impl !UnwindSafe for TimerConfig
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