Function std::intrinsics::volatile_store

source ·
pub unsafe extern "rust-intrinsic" fn volatile_store<T>(
    dst: *mut T,
    val: T
)
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

dst 指针执行易失性存储。

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