Skip to main content

ptr_offset_from

Function ptr_offset_from 

Source
pub const unsafe fn ptr_offset_from<T>(ptr: *const T, base: *const T) -> isize
🔬This is a nightly-only experimental API. (core_intrinsics)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

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