Function regex_automata::util::wire::u32s_to_pattern_ids
source ยท pub(crate) fn u32s_to_pattern_ids(slice: &[u32]) -> &[PatternID]
Expand description
Safely converts a &[u32]
to &[PatternID]
with zero cost.
pub(crate) fn u32s_to_pattern_ids(slice: &[u32]) -> &[PatternID]
Safely converts a &[u32]
to &[PatternID]
with zero cost.