Function std::intrinsics::volatile_store [−][src]
pub unsafe extern "rust-intrinsic" fn volatile_store<T>(dst: *mut T, val: 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
对 dst
指针执行易失性存储。
这个 intrinsic 的稳定版本是 core::ptr::write_volatile
。