Struct libafl::generators::RandPrintablesGenerator [−][src]
pub struct RandPrintablesGenerator<R> { /* fields omitted */ }
Generates random printable characters
Implementations
impl<R> RandPrintablesGenerator<R> where
R: Rand,
[src]
impl<R> RandPrintablesGenerator<R> where
R: Rand,
[src]#[must_use]pub fn new(max_size: usize) -> Self
[src]
#[must_use]pub fn new(max_size: usize) -> Self
[src]Creates a new RandPrintablesGenerator
, generating up to max_size
random printable characters.
Trait Implementations
impl<R: Clone> Clone for RandPrintablesGenerator<R>
[src]
impl<R: Clone> Clone for RandPrintablesGenerator<R>
[src]fn clone(&self) -> RandPrintablesGenerator<R>
[src]
fn clone(&self) -> RandPrintablesGenerator<R>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<R: Debug> Debug for RandPrintablesGenerator<R>
[src]
impl<R: Debug> Debug for RandPrintablesGenerator<R>
[src]impl<R> Generator<BytesInput, R> for RandPrintablesGenerator<R> where
R: Rand,
[src]
impl<R> Generator<BytesInput, R> for RandPrintablesGenerator<R> where
R: Rand,
[src]fn generate_dummy(&self) -> BytesInput
[src]
fn generate_dummy(&self) -> BytesInput
[src]Generates up to DUMMY_BYTES_MAX
non-random dummy bytes (0)
Auto Trait Implementations
impl<R> RefUnwindSafe for RandPrintablesGenerator<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for RandPrintablesGenerator<R> where
R: Send,
R: Send,
impl<R> Sync for RandPrintablesGenerator<R> where
R: Sync,
R: Sync,
impl<R> Unpin for RandPrintablesGenerator<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for RandPrintablesGenerator<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more