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ยง

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 ๐Ÿ”’