Lines Matching defs:Duration

146     fn add_assign(&mut self, rhs: Duration) {  in add_assign()
160 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
168 fn sub(self, rhs: Instant) -> Duration { in sub()
176 pub struct Duration { struct
180 impl Duration { implementation
183 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
188 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
195 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
227 impl fmt::Display for Duration { implementation
233 impl ops::Add<Duration> for Duration { implementation
236 fn add(self, rhs: Duration) -> Duration { in add()
241 impl ops::AddAssign<Duration> for Duration { implementation
242 fn add_assign(&mut self, rhs: Duration) { in add_assign()
247 impl ops::Sub<Duration> for Duration { implementation
250 fn sub(self, rhs: Duration) -> Duration { in sub()
259 impl ops::SubAssign<Duration> for Duration { implementation
260 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
268 impl ops::Mul<u32> for Duration { implementation
271 fn mul(self, rhs: u32) -> Duration { in mul()
276 impl ops::MulAssign<u32> for Duration { implementation
282 impl ops::Div<u32> for Duration { implementation
285 fn div(self, rhs: u32) -> Duration { in div()
290 impl ops::DivAssign<u32> for Duration { implementation
296 impl ops::Shl<u32> for Duration { implementation
299 fn shl(self, rhs: u32) -> Duration { in shl()
304 impl ops::ShlAssign<u32> for Duration { implementation
310 impl ops::Shr<u32> for Duration { implementation
313 fn shr(self, rhs: u32) -> Duration { in shr()
318 impl ops::ShrAssign<u32> for Duration { implementation
324 impl From<::core::time::Duration> for Duration { implementation
325 fn from(other: ::core::time::Duration) -> Duration { in from()
330 impl From<Duration> for ::core::time::Duration { implementation