Instant
Opaque Type. 🔒
Description
No Documentation 🚧
Functions
Function | Summary |
---|---|
add(_self, other) | # Panics This function may panic if the resulting point in time cannot be represented by the unde |
assert_receiver_is_total_eq(_self) | No Documentation 🚧 |
clone(_self) | No Documentation 🚧 |
duration_since(_self, earlier) | Returns the amount of time elapsed from another instant to this one, or zero duration if that inst |
elapsed(_self) | Returns the amount of time elapsed since this instant. # Panics Previous Rust versions panicked w |
eq(_self, other) | No Documentation 🚧 |
now() | Returns an instant corresponding to "now". # Examples ``` use std::time::Instant; let now = Instant::now(); ` |
saturating_duration_since(_self, earlier) | Returns the amount of time elapsed from another instant to this one, or zero duration if that inst |
sub(_self, other) | No Documentation 🚧 |
sub-1(arg0, arg1) | No Documentation 🚧 |