(
&'b self,
vm: &'a VirtualMachine,
)
| 52 | } |
| 53 | |
| 54 | pub fn iter<'a, 'b, U>( |
| 55 | &'b self, |
| 56 | vm: &'a VirtualMachine, |
| 57 | ) -> PyResult<PyIterIter<'a, U, &'b PyObject>> { |
| 58 | let length_hint = vm.length_hint_opt(self.as_ref().to_owned())?; |
| 59 | Ok(PyIterIter::new(vm, self.0.borrow(), length_hint)) |
| 60 | } |
| 61 | |
| 62 | pub fn iter_without_hint<'a, 'b, U>( |
| 63 | &'b self, |
no test coverage detected