unsafe fn pyo3_get_value_into_pyobject<ClassT, FieldT, const OFFSET: usize>(
py: Python<'_>,
obj: NonNull<PyObject>,
) -> PyResult<*mut PyObject>Expand description
Gets a field value from a pyclass and produces a python value using IntoPyObject for FieldT,
after cloning the value.
§Safety
objmust be a valid pointer to an instance ofClassT- there must be a value of type
FieldTat the calculated offset withinClassT