Skip to main content

Module patches

Module patches 

Source

Structs§

PatchSlotIndices
Slot indices for the three patch components within a slot array.
Patches
A helper for working with patched arrays.
PatchesData
Metadata stored in an array’s data struct for reconstructing Patches from slots.
PatchesMetadata
PatchesParts
The owned components of Patches, as returned by Patches::into_parts.
PatchesProbeState
What a repeated probe keeps for the patches of the array it reads: the patch indices, decoded on its first read so that later reads binary search a plain buffer.

Constants§

PATCH_CHUNK_SIZE
One patch index offset is stored for each chunk. This allows for constant time patch index lookups.