pyo3::conversions::std::array

Function create_array_from_obj

Source
fn create_array_from_obj<'py, T, const N: usize>(
    obj: &Bound<'py, PyAny>,
) -> PyResult<[T; N]>
where T: FromPyObject<'py>,
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here