Skip to main content

volatile_load

Function volatile_load 

Source
pub unsafe fn volatile_load<T>(src: *const T) -> T
🔬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

Performs a volatile load from the src pointer.

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