Searched defs:Duration (Results 1 – 1 of 1) sorted by relevance
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 { struct192 impl Duration { implementation195 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 { implementation245 impl ops::Add<Duration> for Duration { implementation[all …]