(&self, obj: PyObjectRef, vm: &VirtualMachine)
| 69 | R: ToPyResult, |
| 70 | { |
| 71 | fn get(&self, obj: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 72 | let obj = T::try_from_object(vm, obj)?; |
| 73 | (self)(obj, vm).to_pyresult(vm) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | impl<F, S, R> IntoPyGetterFunc<(BorrowedParam<S>, R, VirtualMachine)> for F |
no test coverage detected