Module slice

Source

StructsΒ§

FlexZeroSlice
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 call usize::from_le_bytes directly because that function requires the high bits to be set to 0.
get_item_width πŸ”’