zerovec
0.10.4
Module slice
Module Items
Structs
Constants
Functions
In zerovec::
flexzerovec
zerovec
::
flexzerovec
Module
slice
Copy item path
Source
Structs
Β§
Flex
Zero
Slice
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
Β§
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 call
usize::from_le_bytes
directly because that function requires the high bits to be set to 0.
get_
item_
width
π