(&'a self, vm: &VirtualMachine)
| 33 | |
| 34 | impl PyObject { |
| 35 | pub fn try_to_value<'a, T>(&'a self, vm: &VirtualMachine) -> PyResult<T> |
| 36 | where |
| 37 | T: 'a + TryFromBorrowedObject<'a>, |
| 38 | { |
| 39 | T::try_from_borrowed_object(vm, self) |
| 40 | } |
| 41 | |
| 42 | pub fn try_to_ref<'a, T>(&'a self, vm: &VirtualMachine) -> PyResult<&'a Py<T>> |
| 43 | where |
no outgoing calls
no test coverage detected