Skip to main content

build

Function build 

Source
pub fn build<T: Copy + Default, const N: usize>(
    f: impl FnMut(usize) -> T,
) -> [T; N]
Expand description

[f(0), f(1), ..., f(N - 1)].