core::intrinsics

Function ptr_offset_from_unsigned

Source
pub const unsafe fn ptr_offset_from_unsigned<T>(
    _ptr: *const T,
    _base: *const T,
) -> usize
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

See documentation of <*const T>::sub_ptr for details.