Function merge_nty_lists

Source
pub const fn merge_nty_lists<const M: usize>(
    lists: &[&[&'static NamedType]],
) -> ([Option<&'static NamedType>; M], usize)
Expand description

This function turns an array of type lists into a single list of unique types

The type parameter M is the maximum potential output size, it should be equal to lists.iter().map(|l| l.len()).sum(), and should generally be calculated as part of merge_unique_types!().