Skip to main content

ptr_offset_from_unsigned

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)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

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