cast::revm::interpreter::primitives::bitvec::ptr

Function hash

pub fn hash<T, O, S>(ptr: BitPtr<Const, T, O>, into: &mut S)
where T: BitStore, O: BitOrder, S: Hasher,
Available on non-tarpaulin_include only.
Expand description

§Bit-Pointer Hashing

This hashes a bit-pointer by the value of its components, rather than its referent bit. It does not dereference the pointer.

This can be used to ensure that you are hashing the bit-pointer’s address value, though, as always, hashing an address rather than a data value is likely unwise.

§Original

ptr::hash