pyo3::impl_::frompyobject

Function extract_struct_field_with

Source
pub fn extract_struct_field_with<'a, 'py, T>(
    extractor: fn(_: &'a Bound<'py, PyAny>) -> PyResult<T>,
    obj: &'a Bound<'py, PyAny>,
    struct_name: &str,
    field_name: &str,
) -> PyResult<T>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here