Struct libafl::bolts::rands::Lehmer64Rand[][src]

pub struct Lehmer64Rand { /* fields omitted */ }
Expand description

XXH3 Based, hopefully speedy, rnd implementation

Implementations

Creates a new Lehmer rand with the given seed

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

A default RNG will usually produce a nondeterministic stream of random numbers. As we do not have any way to get random seeds for no_std, they have to be reproducible there. Use [$rand::with_seed] to generate a reproducible RNG.

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Sets the seed of this Rand

Gets the next 64 bit value

Gets a value below the given 64 bit val (inclusive)

Gets a value between the given lower bound (inclusive) and upper bound (inclusive)

Choose an item at random from the given iterator, sampling uniformly. Read more

Creates a rand instance, pre-seeded with the current time in nanoseconds.

Serialize this value into the given Serde serializer. 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 Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.