Module zerovec::flexzerovec::slice
source ยท Structsยง
- A zero-copy โsliceโ that efficiently represents
[usize]
. - InsertInfo ๐Pre-computed information about a pending insertion operation.
- RemoveInfo ๐Pre-computed information about a pending removal operation.
Constantsยง
- USIZE_WIDTH ๐
Functionsยง
- chunk_to_usize ๐Helper function to decode a little-endian โchunkโ (byte slice of a specific length) into a
usize
. We cannot callusize::from_le_bytes
directly because that function requires the high bits to be set to 0. - get_item_width ๐