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
Trait Implementations
Source§impl Clone for BaseTimeDuration
impl Clone for BaseTimeDuration
Source§fn clone(&self) -> BaseTimeDuration
fn clone(&self) -> BaseTimeDuration
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more