Struct libafl_bolts::rands::RomuDuoJrRand
source · pub struct RomuDuoJrRand { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
source§impl Clone for RomuDuoJrRand
impl Clone for RomuDuoJrRand
source§fn clone(&self) -> RomuDuoJrRand
fn clone(&self) -> RomuDuoJrRand
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 RomuDuoJrRand
impl Debug for RomuDuoJrRand
source§impl Default for RomuDuoJrRand
impl Default for RomuDuoJrRand
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 RomuDuoJrRand
impl<'de> Deserialize<'de> for RomuDuoJrRand
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 RomuDuoJrRand
impl Rand for RomuDuoJrRand
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 RomuDuoJrRand
impl RandomSeed for RomuDuoJrRand
source§impl RngCore for RomuDuoJrRand
impl RngCore for RomuDuoJrRand
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 RomuDuoJrRand
impl Serialize for RomuDuoJrRand
impl Copy for RomuDuoJrRand
Auto Trait Implementations§
impl Freeze for RomuDuoJrRand
impl RefUnwindSafe for RomuDuoJrRand
impl Send for RomuDuoJrRand
impl Sync for RomuDuoJrRand
impl Unpin for RomuDuoJrRand
impl UnwindSafe for RomuDuoJrRand
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.