(&self, ordering: Ordering)
| 367 | } |
| 368 | |
| 369 | pub fn to_owned_ordering(&self, ordering: Ordering) -> Option<PyRef<T>> { |
| 370 | self.deref_ordering(ordering).map(|x| x.to_owned()) |
| 371 | } |
| 372 | |
| 373 | /// # Safety |
| 374 | /// The caller is responsible to keep the returned PyRef alive |
no test coverage detected