//! [`StdTime`]: a [`TimeSource`] backed by
//! [`std::time::Instant`].
use OnceLock;
use Instant;
use TimeSource;
/// A time source backed by [`std::time::Instant`].
///
/// This is the [`DefaultTime`][crate::DefaultTime] on all native targets.
///
/// On WebAssembly, `std::time::Instant` may not be available. Implement
/// [`TimeSource`] using `performance.now()` and pass it as
/// the `T` parameter of [`FrameTimer`][crate::FrameTimer].
;
static EPOCH: = new;