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§
- alias
- Type aliases for common pointer combinations.
- error
- flag
- Flag Metadata
- ptr
- Pointer Metadata
- repr_
storage
Structs§
- Flagged
Ptr - A pointer that stores flags within unused bits of the pointer representation.