Module zerovec::flexzerovec::slice
source ยท Structsยง
- A zero-copy โsliceโ that efficiently represents
[usize]
. - Insert
Info ๐Pre-computed information about a pending insertion operation. - Remove
Info ๐Pre-computed information about a pending removal operation.
Constantsยง
- USIZ
E_ ๐WIDTH
Functionsยง
- chunk_
to_ ๐usize Helper function to decode a little-endian โchunkโ (byte slice of a specific length) into ausize
. We cannot callusize::from_le_bytes
directly because that function requires the high bits to be set to 0. - get_
item_ ๐width