pyo3::impl_::frompyobject

Function extract_tuple_struct_field

Source
pub fn extract_tuple_struct_field<'py, T>(
    obj: &Bound<'py, PyAny>,
    struct_name: &str,
    index: usize,
) -> PyResult<T>
where T: FromPyObject<'py>,
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here