header-vec 0.1.3

Vector with user-specified header, length, capacity, and array elements all stored on the heap together
Documentation
  • Coverage
  • 41.18%
    7 out of 17 items documented1 out of 15 items with examples
  • Size
  • Source code size: 23.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.75 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rust-cv/header-vec
    5 2 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • vadixidav

header-vec

Allows one to store a header struct and a vector all inline in the same memory on the heap and share weak versions for minimizing random lookups in data structures

If you use this without creating a weak ptr, it is safe. It is unsafe to create a weak pointer because you now have aliasing.