Function pyo3::impl_::wrap::map_result_into_ptr

source ·
pub fn map_result_into_ptr<T: IntoPy<PyObject>>(
    py: Python<'_>,
    result: PyResult<T>
) -> PyResult<*mut PyObject>
Expand description

This is a follow-up function to OkWrap::wrap that converts the result into a *mut ffi::PyObject pointer.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here