[−][src]Function safe_arch::rdseed_u16
#[must_use]pub fn rdseed_u16(out: &mut u16) -> i32
This is supported with target feature
rdseed
only.Try to obtain a random u16
from the hardware RNG.
let mut val = 0_u16; let it_worked = rdseed_u16(&mut val);