Hi, the Instant struct is currently very bare bones and does not include conversion methods such as millis and to_millis like the Duration and Rate structs have. This makes it pretty hard to work with since you'd have to do all conversion yourself to convert it into the unit you need.
Instant is also missing aliases such as MicrosInstant, which would be very convenient to have. Both Duration and Rate have these aliases so it would make sense to make them for Instant.
Hi, the
Instant
struct is currently very bare bones and does not include conversion methods such asmillis
andto_millis
like theDuration
andRate
structs have. This makes it pretty hard to work with since you'd have to do all conversion yourself to convert it into the unit you need.Instant
is also missing aliases such asMicrosInstant
, which would be very convenient to have. BothDuration
andRate
have these aliases so it would make sense to make them forInstant
.