std::intrinsics

Function ptr_offset_from_unsigned

Source
pub const unsafe extern "rust-intrinsic" 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.