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