Glossary: Data Structures and Algorithms in Rust
Instant
Also written: Instant::now(), elapsed, as_secs_f64
A std::time type that reads a precise clock. Call .elapsed() later to get the time passed, and .as_secs_f64() to see it in seconds.
Glossary: Data Structures and Algorithms in Rust
Also written: Instant::now(), elapsed, as_secs_f64
A std::time type that reads a precise clock. Call .elapsed() later to get the time passed, and .as_secs_f64() to see it in seconds.