Lines Matching defs:Duration

158     fn add_assign(&mut self, rhs: Duration) {  in add_assign()
172 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
180 fn sub(self, rhs: Instant) -> Duration { in sub()
188 pub struct Duration { struct
192 impl Duration { implementation
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()
239 impl fmt::Display for Duration { implementation
245 impl ops::Add<Duration> for Duration { implementation
248 fn add(self, rhs: Duration) -> Duration { in add()
253 impl ops::AddAssign<Duration> for Duration { implementation
254 fn add_assign(&mut self, rhs: Duration) { in add_assign()
259 impl ops::Sub<Duration> for Duration { implementation
262 fn sub(self, rhs: Duration) -> Duration { in sub()
271 impl ops::SubAssign<Duration> for Duration { implementation
272 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
280 impl ops::Mul<u32> for Duration { implementation
283 fn mul(self, rhs: u32) -> Duration { in mul()
288 impl ops::MulAssign<u32> for Duration { implementation
294 impl ops::Div<u32> for Duration { implementation
297 fn div(self, rhs: u32) -> Duration { in div()
302 impl ops::DivAssign<u32> for Duration { implementation
308 impl ops::Shl<u32> for Duration { implementation
311 fn shl(self, rhs: u32) -> Duration { in shl()
316 impl ops::ShlAssign<u32> for Duration { implementation
322 impl ops::Shr<u32> for Duration { implementation
325 fn shr(self, rhs: u32) -> Duration { in shr()
330 impl ops::ShrAssign<u32> for Duration { implementation
336 impl From<::core::time::Duration> for Duration { implementation
337 fn from(other: ::core::time::Duration) -> Duration { in from()
342 impl From<Duration> for ::core::time::Duration { implementation
362 impl From<smoltcp::time::Duration> for Duration { implementation
368 impl Into<smoltcp::time::Duration> for Duration { implementation
369 fn into(self) -> smoltcp::time::Duration { in into()