Crate flagged_pointer

Crate flagged_pointer 

Source
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.
flag
Flag Metadata
ptr
Pointer Metadata

Structs§

FlaggedPtr
A pointer that stores flags within unused bits of the pointer representation.