forge::revm::interpreter::primitives::bitvec::ptr

Function null

pub fn null<T, O>() -> BitPtr<Const, T, O>
where T: BitStore, O: BitOrder,
Available on non-tarpaulin_include only.
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