pub const fn flatten_panicvals<'a, const LEN: usize>(
    input: &[&[PanicVal<'a>]]
) -> [PanicVal<'a>; LEN]
Available on crate feature non_basic only.
Expand description

Flattens a &[&[PanicVal<'a>]] into a [PanicVal<'a>; LEN].

If LEN is greater than the amount of PanicVals in the slices, this fills the remaining array with PanicVal::EMPTY.

Panics

Panics if the amount of PanicVals in the slices is greater than LEN.