832 B
832 B
Raw Pointer Implementation
This provides bitvec-internal pointer types and a mirror of the core::ptr
module.
It contains the following types:
BitPtris a raw-pointer to exactly one bit.BitRefis a proxy reference to exactly one bit.BitSpanis the encoded form of the*BitSlicepointer and&BitSlicereference. It is not publicly exposed, but it serves as the foundation ofbitvec’s ability to describe memory regions.
It also provides ports of the free functions available in core::ptr, as well
as some utilities for bridging ordinary Rust pointers into bitvec.
You should generally not use the contents of this module; BitSlice provides
more convenience and has stronger abilities to optimize performance.