pub struct PollTimer {
pub start_time: Instant,
pub interval: Duration,
pub repeats: bool,
pub step: u64,
}
Fields§
§start_time: Instant
§interval: Duration
§repeats: bool
§step: u64
Implementations§
Auto Trait Implementations§
impl Freeze for PollTimer
impl RefUnwindSafe for PollTimer
impl Send for PollTimer
impl Sync for PollTimer
impl Unpin for PollTimer
impl UnwindSafe for PollTimer
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