std::intrinsics

Function ptr_offset_from

Source
pub const unsafe extern "rust-intrinsic" fn ptr_offset_from<T>(
    ptr: *const T,
    base: *const T,
) -> isize
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

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