pub open spec fn spec_cast_ptr_to_usize<T: Sized>(ptr: *mut T) -> usize
{ ptr@.addr }
Cast a pointer to a usize by extracting just the address.
usize