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

  • 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.