Lines Matching refs:u64
37 pub const FSEC_PER_SEC: u64 = 1000000000000000;
189 micros: u64,
195 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
200 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
207 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
214 pub const fn millis(&self) -> u64 { in millis() argument
219 pub const fn micros(&self) -> u64 { in micros() argument
224 pub const fn secs(&self) -> u64 { in secs() argument
229 pub const fn total_millis(&self) -> u64 { in total_millis() argument
234 pub const fn total_micros(&self) -> u64 { in total_micros() argument
284 Duration::from_micros(self.micros * rhs as u64) in mul()
290 self.micros *= rhs as u64; in mul_assign()
298 Duration::from_micros(self.micros / rhs as u64) in div()
304 self.micros /= rhs as u64; in div_assign()
338 Duration::from_micros(other.as_secs() * 1000000 + other.subsec_micros() as u64) in from()