Function core::arch::x86::_rdrand16_step [] [src]

pub unsafe fn _rdrand16_step(val: &mut u16) -> i32
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on x86 and target feature rdrand only.

Read a hardware generated 16-bit random value and store the result in val. Return 1 if a random value was generated, and 0 otherwise.