| 284 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> |
284 fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> |
| 285 where |
285 where |
| 286 Self: 'b, |
286 Self: 'b, |
| 287 { |
287 { |
| 288 MyCow::Owned(self.into_owned()) |
288 MyCow::Owned(self.into_owned()) |
| |
289 } |
| |
290 |
| |
291 #[inline] |
| |
292 fn ref_cow_owned<'b>(&'b self) -> MyCow<'b, Self::OwnedVariant> |
| |
293 where |
| |
294 Self: 'b, |
| |
295 { |
| |
296 MyCow::Owned(self.clone_owned()) |
| 289 } |
297 } |
| 290 } |
298 } |
| 291 |
299 |
| 292 /// We only support 'closed' `Euclidean` `Pair`s, as more general ones cause |
300 /// We only support 'closed' `Euclidean` `Pair`s, as more general ones cause |
| 293 /// compiler overflows. |
301 /// compiler overflows. |