pub struct Tick { /* private fields */ }
Expand description
Timing information for one tick
Implementations§
Source§impl Tick
impl Tick
Sourcepub fn start_time(&self) -> DateTime<Local>
pub fn start_time(&self) -> DateTime<Local>
Get start time of this timer
Sourcepub fn total_runtime(&self) -> TimeDelta
pub fn total_runtime(&self) -> TimeDelta
Get total runtime of this timer, including elapsed time and remaining time
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnwindSafe for Tick
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