Struct f3::time::Instant [] [src]

pub struct Instant { /* fields omitted */ }

A measurement of a monotonically increasing clock

Methods

impl Instant
[src]

Returns the instant corresponding to "now".

Returns the number of "ticks" that have passed since this instant was created.

Caveats

This function doesn't handle overflows. There's no way to know if more than 1 << 32 ticks have passed; the number of ticks will just wrap around.

Trait Implementations

impl Clone for Instant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Instant
[src]