Function core::arch::x86::_rdrand16_step1.27.0[][src]

pub unsafe fn _rdrand16_step(val: &mut u16) -> i32
This is supported on x86 and target feature rdrand only.
Expand description

读取硬件生成的 16 位随机值,并将结果存储在 val 中。 如果生成随机值,则返回 1,否则返回 0。

Intel’s documentation