Expand description
provides some (map
and from_fn
) core::array
fn related functions as const macros.
const X: [usize; 6] = car::map!(car::from_fn!(|x| x), |x| x * 24);
Macrosยง
- from_fn
- From fn in const.
- map
- Map in const.
- try_
from_ fn_ option - Try from fn in const, for options.
- try_
from_ fn_ result - Try from fn in const, for results.