Skip to main content

Instant

Type Alias Instant 

Source
pub type Instant = Instant;
Expand description

std::time::Instant on native targets. On wasm32-unknown-unknown, where the standard library has no clock, the web_time crate’s browser-backed Instant.

Aliased Type§

pub struct Instant(/* private fields */);