Struct libafl::bolts::rands::Lehmer64Rand [−][src]
pub struct Lehmer64Rand { /* fields omitted */ }
Expand description
XXH3 Based, hopefully speedy, rnd implementation
Implementations
Trait Implementations
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.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Gets a value below the given 64 bit val (inclusive)
Gets a value between the given lower bound (inclusive) and upper bound (inclusive)
fn choose<I, E, T>(&mut self, from: I) -> T where
I: IntoIterator<Item = T, IntoIter = E>,
E: ExactSizeIterator + Iterator<Item = T>,
fn choose<I, E, T>(&mut self, from: I) -> T where
I: IntoIterator<Item = T, IntoIter = E>,
E: ExactSizeIterator + Iterator<Item = T>,
Choose an item at random from the given iterator, sampling uniformly. Read more
Auto Trait Implementations
impl RefUnwindSafe for Lehmer64Rand
impl Send for Lehmer64Rand
impl Sync for Lehmer64Rand
impl Unpin for Lehmer64Rand
impl UnwindSafe for Lehmer64Rand
Blanket Implementations
Mutably borrows from an owned value. Read more
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
type Output = T
type Output = T
Should always be Self