Skip to main content

unaligned_volatile_load

Function unaligned_volatile_load 

Source
pub unsafe fn unaligned_volatile_load<T>(src: *const T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Performs a volatile load from the src pointer The pointer is not required to be aligned.

This intrinsic does not have a stable counterpart.

§Safety

See crate::ptr::read_volatile for safety conditions, but note that src does not need to be aligned.