Searched defs:SmallIndex (Results 1 – 4 of 4) sorted by relevance
96 pub(crate) struct SmallIndex(u32); struct98 impl SmallIndex { impl124 pub fn new(index: usize) -> Result<SmallIndex, SmallIndexError> { in new()139 pub const fn new_unchecked(index: usize) -> SmallIndex { in new_unchecked()155 pub const fn from_u32_unchecked(index: u32) -> SmallIndex { in from_u32_unchecked()161 pub fn must(index: usize) -> SmallIndex { in must()213 ) -> Result<SmallIndex, SmallIndexError> {227 pub fn from_ne_bytes_unchecked(bytes: [u8; 4]) -> SmallIndex { in from_ne_bytes_unchecked()271 impl From<StateID> for SmallIndex { implementation272 fn from(sid: StateID) -> SmallIndex { in from()[all …]
144 pub struct SmallIndex(u32); struct146 impl SmallIndex { impl172 pub fn new(index: usize) -> Result<SmallIndex, SmallIndexError> { in new()187 pub const fn new_unchecked(index: usize) -> SmallIndex { in new_unchecked()194 pub fn must(index: usize) -> SmallIndex { in must()246 ) -> Result<SmallIndex, SmallIndexError> {260 pub fn from_ne_bytes_unchecked(bytes: [u8; 4]) -> SmallIndex { in from_ne_bytes_unchecked()306 impl From<u8> for SmallIndex { implementation307 fn from(index: u8) -> SmallIndex { in from()312 impl TryFrom<u16> for SmallIndex { implementation[all …]
2220 group: SmallIndex, in add_explicit_group()2316 fn small_slot_len(&self) -> SmallIndex { in small_slot_len()
237 pub(crate) fn pattern_lens_raw(&self) -> &[SmallIndex] { in pattern_lens_raw()763 pub(crate) fn depth(&self) -> SmallIndex { in depth()