std::intrinsics

Function volatile_load

Source
pub unsafe 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.