Function revm::precompile::primitives::bitvec::ptr::null

source ·
pub fn null<T, O>() -> BitPtr<Const, T, O>
where T: BitStore, O: BitOrder,
Expand description

§Bit-Pointer Sentinel Value

BitPtr does not permit actual null pointers. Instead, it uses the canonical dangling address as a sentinel for uninitialized, useless, locations.

You should use Option<BitPtr> if you need to track nullability.

§Original

ptr::null