Struct xoshiro::SplitMix64[][src]

pub struct SplitMix64 { /* fields omitted */ }

A splitmix64 random number generator.

The splitmix algorithm is not suitable for cryptographic purposes, but is very fast and has a 64 bit state.

The algorithm used here is translated from the splitmix64.c reference source code by Sebastiano Vigna. For next_u32, a more efficient mixing function taken from dsiutils is used.

Methods

impl SplitMix64
[src]

Seed a SplitMix64 from a u64.

Trait Implementations

impl Debug for SplitMix64
[src]

Formats the value using the given formatter. Read more

impl Clone for SplitMix64
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl RngCore for SplitMix64
[src]

Return the next random u32. Read more

Return the next random u64. Read more

Fill dest with random data. Read more

Fill dest entirely with random data. Read more

impl SeedableRng for SplitMix64
[src]

Seed type, which is restricted to types mutably-dereferencable as u8 arrays (we recommend [u8; N] for some N). Read more

Create a new SplitMix64.

Create a new PRNG seeded from another Rng. Read more

Auto Trait Implementations

impl Send for SplitMix64

impl Sync for SplitMix64