core::ffi

Type Alias c_ptrdiff_t

source
pub type c_ptrdiff_t = isize;
🔬This is a nightly-only experimental API. (c_size_t #88345)
Expand description

Equivalent to C’s ptrdiff_t type, from stddef.h (or cstddef for C++).

This type is currently always isize, however in the future there may be platforms where this is not the case.