Module zerovec::varzerovec::components
source · Structs
- This is a
VarZeroVecFormat
that stores u16s in the index array. Will have a smaller data size, but it’s more likely for larger arrays to be unrepresentable (and error on construction) - This is a
VarZeroVecFormat
that stores u32s in the index array. Will have a larger data size, but will support large arrays without problems. - A more parsed version of
VarZeroSlice
. This type is where most of the VarZeroVec internal representation code lies.
Constants
Traits
- This trait allows switching between different possible internal representations of VarZeroVec.
Functions
- Collects the bytes for a VarZeroSlice into a Vec.
- Writes the bytes for a VarZeroSlice into an output buffer.