Expand description
§Flagged Pointer
A library for creating tagged pointers that store flags within the unused bits of pointers.
This crate provides a safe abstraction for tagged pointers by utilizing unused bits in aligned pointers to store additional flag information. This is particularly useful for implementing space-efficient data structures like tagged unions or specialized memory allocators.
Modules§
Structs§
- Flagged
Ptr - A pointer that stores flags within unused bits of the pointer representation.