std::intrinsics::volatile_store - Rust
Description: API documentation for the Rust `volatile_store` fn in crate `std`.
Keywords: rust, rustlang, rust-lang, volatile_store

# [−][src]Function std::intrinsics::volatile_store

    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

Performs a volatile store to the `dst` pointer.

The stabilized version of this intrinsic is `std::ptr::write_volatile`.