(self)
| 155 | pub trait IntoPySetterFunc<T>: PyThreadingConstraint + Sized + 'static { |
| 156 | fn set(&self, obj: PyObjectRef, value: PySetterValue, vm: &VirtualMachine) -> PyResult<()>; |
| 157 | fn into_setter(self) -> PySetterFunc { |
| 158 | Box::new(move |vm, obj, value| self.set(obj, value, vm)) |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | impl<F, T, V, R> IntoPySetterFunc<(OwnedParam<T>, V, R, VirtualMachine)> for F |