Function std::intrinsics::volatile_load[][src]

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

intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library

Expand description

src 指针执行易失性加载。

这个 intrinsic 的稳定版本是 core::ptr::read_volatile