pub type TimeStamp_DurationType = TimeDuration;
Expand description
Instances of this class represent the length of an interval of time. Negative durations are allowed, meaning the end is before the start.
Internally the duration is stored as a int64_t in units of PR_TicksPerSecond() when building with NSPR interval timers, or a system-dependent unit when building with system clocks. The system-dependent unit must be constant, otherwise the semantics of this class would be broken.
The ValueCalculator template parameter determines how arithmetic operations are performed on the integer count of ticks (mValue).
Aliased Type§
#[repr(C)]pub struct TimeStamp_DurationType {
pub mValue: i64,
}
Fields§
§mValue: i64