Struct x86_64::instructions::random::RdRand[][src]

pub struct RdRand(_);
Expand description

Used to obtain random numbers using x86_64’s RDRAND opcode

Implementations

Creates Some(RdRand) if RDRAND is supported, None otherwise

Uniformly sampled u64. May fail in rare circumstances or heavy load.

Uniformly sampled u32. May fail in rare circumstances or heavy load.

Uniformly sampled u16. May fail in rare circumstances or heavy load.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.