Struct std::time::Duration

struct Duration { ... }

Represents a span of time.

Duration is signed, so it can support both positive and negative durations. It is assumed to always be normalized, i.e. 0 ≤ nanos < NANOS_PER_SEC.

Example

Fields

Methods

impl Duration { ... }

Mixins

impl Duration { ... }