Lines Matching defs:self
144 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
152 fn add(self, rhs: Duration) -> Instant { in add() argument
158 fn add_assign(&mut self, rhs: Duration) { in add_assign()
166 fn sub(self, rhs: Duration) -> Instant { in sub() argument
172 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
180 fn sub(self, rhs: Instant) -> Duration { in sub() argument
240 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
248 fn add(self, rhs: Duration) -> Duration { in add() argument
254 fn add_assign(&mut self, rhs: Duration) { in add_assign()
262 fn sub(self, rhs: Duration) -> Duration { in sub() argument
272 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
283 fn mul(self, rhs: u32) -> Duration { in mul() argument
289 fn mul_assign(&mut self, rhs: u32) { in mul_assign()
297 fn div(self, rhs: u32) -> Duration { in div() argument
303 fn div_assign(&mut self, rhs: u32) { in div_assign()
311 fn shl(self, rhs: u32) -> Duration { in shl() argument
317 fn shl_assign(&mut self, rhs: u32) { in shl_assign()
325 fn shr(self, rhs: u32) -> Duration { in shr() argument
331 fn shr_assign(&mut self, rhs: u32) { in shr_assign()