pyo3::impl_::extract_argument

Function extract_pyclass_ref_mut

Source
pub fn extract_pyclass_ref_mut<'a, 'py: 'a, T: PyClass<Frozen = False>>(
    obj: &'a Bound<'py, PyAny>,
    holder: &'a mut Option<PyRefMut<'py, T>>,
) -> PyResult<&'a mut T>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here