std::intrinsics

Function ptr_offset_from

const: 1.65.0 · 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.