Lines Matching defs:Duration
128 impl From<PosixTimeSpec> for Duration { implementation
290 fn add_assign(&mut self, rhs: Duration) { in add_assign()
304 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
312 fn sub(self, rhs: Instant) -> Duration { in sub()
319 pub struct Duration { struct
323 impl Duration { argument
326 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
331 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
338 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
370 impl fmt::Display for Duration { implementation
376 impl ops::Add<Duration> for Duration { implementation
379 fn add(self, rhs: Duration) -> Duration { in add()
384 impl ops::AddAssign<Duration> for Duration { implementation
385 fn add_assign(&mut self, rhs: Duration) { in add_assign()
390 impl ops::Sub<Duration> for Duration { implementation
393 fn sub(self, rhs: Duration) -> Duration { in sub()
402 impl ops::SubAssign<Duration> for Duration { implementation
403 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
411 impl ops::Mul<u32> for Duration { implementation
414 fn mul(self, rhs: u32) -> Duration { in mul()
419 impl ops::MulAssign<u32> for Duration { implementation
425 impl ops::Div<u32> for Duration { implementation
428 fn div(self, rhs: u32) -> Duration { in div()
433 impl ops::DivAssign<u32> for Duration { implementation
439 impl ops::Shl<u32> for Duration { implementation
442 fn shl(self, rhs: u32) -> Duration { in shl()
447 impl ops::ShlAssign<u32> for Duration { implementation
453 impl ops::Shr<u32> for Duration { implementation
456 fn shr(self, rhs: u32) -> Duration { in shr()
461 impl ops::ShrAssign<u32> for Duration { implementation
467 impl From<::core::time::Duration> for Duration { implementation
468 fn from(other: ::core::time::Duration) -> Duration { in from()
473 impl From<Duration> for ::core::time::Duration { implementation
493 impl From<smoltcp::time::Duration> for Duration { implementation
499 impl From<Duration> for smoltcp::time::Duration { implementation