Struct libafl::bolts::rands::RomuDuoJrRand [−][src]
pub struct RomuDuoJrRand { /* fields omitted */ }
Expand description
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 RomuDuoJrRand
impl Send for RomuDuoJrRand
impl Sync for RomuDuoJrRand
impl Unpin for RomuDuoJrRand
impl UnwindSafe for RomuDuoJrRand
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