std::intrinsics

Function volatile_load

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

Performs a volatile load from the src pointer.

The stabilized version of this intrinsic is core::ptr::read_volatile.