Struct libafl_bolts::rands::XkcdRand
source · pub struct XkcdRand { /* private fields */ }
Expand description
fake rand, for testing purposes
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for XkcdRand
impl<'de> Deserialize<'de> for XkcdRand
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 XkcdRand
impl Rand for XkcdRand
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)
impl Copy for XkcdRand
Auto Trait Implementations§
impl RefUnwindSafe for XkcdRand
impl Send for XkcdRand
impl Sync for XkcdRand
impl Unpin for XkcdRand
impl UnwindSafe for XkcdRand
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.