Trait etwin_core::clock::Clock[][src]

pub trait Clock: Send + Sync {
    fn now(&self) -> Instant;
}

Required methods

fn now(&self) -> Instant[src]

Loading content...

Implementations on Foreign Types

impl<'a, T: 'a + Clock + ?Sized> Clock for &'a T where
    &'a T: Send + Sync
[src]

impl<T: Clock + ?Sized> Clock for Arc<T> where
    Arc<T>: Send + Sync
[src]

Loading content...

Implementors

Loading content...