[−][src]Trait x86::random::RdRand
RdRand trait to implement the generic rdrand_slice function.
Required methods
unsafe fn fill_random(&mut self) -> bool
Fills self
with random bits. Returns true on success or false otherwise
Unsafe
RDRAND is not supported on all architctures, so using this may crash you.
Implementors
impl RdRand for u16
[src]
unsafe fn fill_random(&mut self) -> bool
[src]
Fills the 16-bit value with a random bit string
Unsafe
Will crash if RDRAND instructions are not supported.
impl RdRand for u32
[src]
unsafe fn fill_random(&mut self) -> bool
[src]
Fills the 32-bit value with a random bit string
Unsafe
Will crash if RDRAND instructions are not supported.
impl RdRand for u64
[src]
unsafe fn fill_random(&mut self) -> bool
[src]
Fills the 64-bit value with a random bit string
Unsafe
Will crash if RDRAND instructions are not supported.