[−][src]Struct rusty_timer::SystemStopwatch
This stopwatch is the same as the normal stopwatch but instead of using std::Instance, it uses std::SystemTime See normal Stopwatch for documentation
Implementations
impl SystemStopwatch
[src]
pub fn new() -> Self
[src]
pub fn elapsed(&self) -> Duration
[src]
pub fn restart(&mut self)
[src]
pub fn pause(&mut self)
[src]
pub fn unpause(&mut self)
[src]
Trait Implementations
impl Default for SystemStopwatch
[src]
Auto Trait Implementations
impl RefUnwindSafe for SystemStopwatch
impl Send for SystemStopwatch
impl Sync for SystemStopwatch
impl Unpin for SystemStopwatch
impl UnwindSafe for SystemStopwatch
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,