Expand description
The Duration
struct and its associated impl
s.
Macros§
- Implement
Mul
(reflexively) andDiv
forDuration
for various types. - This is adapted from the
std
implementation, which uses mostly bit operations to ensure the highest precision:
Structs§
- A span of time with nanosecond precision.
Enums§
- Padding 🔒By explicitly inserting this enum where padding is expected, the compiler is able to better perform niche value optimization.
Type Aliases§
- The type of the
nanosecond
field ofDuration
.