pyo3::conversions::std::array

Function array_try_from_fn

Source
fn array_try_from_fn<E, F, T, const N: usize>(cb: F) -> Result<[T; N], E>
where F: FnMut(usize) -> Result<T, E>,
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here