Searched defs:Duration (Results 1 – 1 of 1) sorted by relevance
102 impl From<TimeSpec> for Duration { implementation209 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 { struct243 impl Duration { impl246 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[all …]