Struct libafl_bolts::rands::RomuTrioRand
source · pub struct RomuTrioRand { /* private fields */ }
Expand description
Extremely quick rand implementation see https://arxiv.org/pdf/2002.11331.pdf
Implementations§
Trait Implementations§
source§impl Clone for RomuTrioRand
impl Clone for RomuTrioRand
source§fn clone(&self) -> RomuTrioRand
fn clone(&self) -> RomuTrioRand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RomuTrioRand
impl Debug for RomuTrioRand
source§impl Default for RomuTrioRand
impl Default for RomuTrioRand
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.
source§impl<'de> Deserialize<'de> for RomuTrioRand
impl<'de> Deserialize<'de> for RomuTrioRand
source§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
source§impl Rand for RomuTrioRand
impl Rand for RomuTrioRand
source§fn below(&mut self, upper_bound_excl: u64) -> u64
fn below(&mut self, upper_bound_excl: u64) -> u64
Gets a value below the given 64 bit val (exclusive)
source§fn between(&mut self, lower_bound_incl: u64, upper_bound_incl: u64) -> u64
fn between(&mut self, lower_bound_incl: u64, upper_bound_incl: u64) -> u64
Gets a value between the given lower bound (inclusive) and upper bound (inclusive)
source§impl RandomSeed for RomuTrioRand
impl RandomSeed for RomuTrioRand
source§impl RngCore for RomuTrioRand
impl RngCore for RomuTrioRand
source§fn fill_bytes(&mut self, dest: &mut [u8])
fn fill_bytes(&mut self, dest: &mut [u8])
Fill
dest
with random data. Read moresource§impl Serialize for RomuTrioRand
impl Serialize for RomuTrioRand
impl Copy for RomuTrioRand
Auto Trait Implementations§
impl RefUnwindSafe for RomuTrioRand
impl Send for RomuTrioRand
impl Sync for RomuTrioRand
impl Unpin for RomuTrioRand
impl UnwindSafe for RomuTrioRand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting
TupleList
, of an Prepend::prepend()
call,
including the prepended entry.source§fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.