Lines Matching defs:Duration

102 impl From<TimeSpec> for Duration {  implementation
209 fn add_assign(&mut self, rhs: Duration) { in add_assign()
223 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
231 fn sub(self, rhs: Instant) -> Duration { in sub()
239 pub struct Duration { struct
243 impl Duration { implementation
246 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
251 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
258 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
290 impl fmt::Display for Duration { implementation
296 impl ops::Add<Duration> for Duration { implementation
299 fn add(self, rhs: Duration) -> Duration { in add()
304 impl ops::AddAssign<Duration> for Duration { implementation
305 fn add_assign(&mut self, rhs: Duration) { in add_assign()
310 impl ops::Sub<Duration> for Duration { implementation
313 fn sub(self, rhs: Duration) -> Duration { in sub()
322 impl ops::SubAssign<Duration> for Duration { implementation
323 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
331 impl ops::Mul<u32> for Duration { implementation
334 fn mul(self, rhs: u32) -> Duration { in mul()
339 impl ops::MulAssign<u32> for Duration { implementation
345 impl ops::Div<u32> for Duration { implementation
348 fn div(self, rhs: u32) -> Duration { in div()
353 impl ops::DivAssign<u32> for Duration { implementation
359 impl ops::Shl<u32> for Duration { implementation
362 fn shl(self, rhs: u32) -> Duration { in shl()
367 impl ops::ShlAssign<u32> for Duration { implementation
373 impl ops::Shr<u32> for Duration { implementation
376 fn shr(self, rhs: u32) -> Duration { in shr()
381 impl ops::ShrAssign<u32> for Duration { implementation
387 impl From<::core::time::Duration> for Duration { implementation
388 fn from(other: ::core::time::Duration) -> Duration { in from()
393 impl From<Duration> for ::core::time::Duration { implementation
413 impl From<smoltcp::time::Duration> for Duration { implementation
419 impl From<Duration> for smoltcp::time::Duration { implementation