Skip to main content

from_fn

Function from_fn 

Source
pub fn from_fn<T>(len: usize, f: impl FnMut(usize) -> T) -> &'static mut [T]