Type Alias mozjs_sys::jsapi::mozilla::TimeDuration

source ·
pub type TimeDuration = BaseTimeDuration;
Expand description

Specialization of BaseTimeDuration that uses TimeDurationValueCalculator for arithmetic on the mValue member.

Use this class for time durations that are not expected to hold values of Forever (or the negative equivalent) or when such time duration are not expected to be used in arithmetic operations.

Aliased Type§

struct TimeDuration {
    pub mValue: i64,
}

Fields§

§mValue: i64