pub(crate) fn u32s_to_pattern_ids(slice: &[u32]) -> &[PatternID]
Safely converts a &[u32] to &[PatternID] with zero cost.
&[u32]
&[PatternID]