Searched defs:Duration (Results 1 – 1 of 1) sorted by relevance
139 fn add_assign(&mut self, rhs: Duration) { in add_assign()153 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()161 fn sub(self, rhs: Instant) -> Duration { in sub()169 pub struct Duration { struct173 impl Duration { implementation176 pub const fn from_micros(micros: u64) -> Duration { in from_micros()181 pub const fn from_millis(millis: u64) -> Duration { in from_millis()188 pub const fn from_secs(secs: u64) -> Duration { in from_secs()220 impl fmt::Display for Duration { implementation226 impl ops::Add<Duration> for Duration { implementation[all …]