Struct suppositions::data::InfoPool
[−]
[src]
pub struct InfoPool { /* fields omitted */ }
A pool of data that we can draw upon to generate other types of data.
Methods
impl InfoPool
[src]
fn of_vec(data: Vec<u8>) -> Self
[src]
Create an InfoPool
with a given vector of bytes. (Mostly used for
testing).
fn new() -> Self
[src]
Create an InfoPool
with a size
length vector of random bytes
using the generator rng
. (Mostly used for testing).
fn buffer(&self) -> &[u8]
[src]
Allows access to the underlying buffer.
fn tap(&mut self) -> InfoTap
[src]
Creates a tap that allows drawing new information from this pool.
fn replay(&self) -> InfoReplay
[src]
Creates a tap that allows drawing new information from this pool.
Trait Implementations
impl Clone for InfoPool
[src]
fn clone(&self) -> InfoPool
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for InfoPool
[src]
fn eq(&self, __arg_0: &InfoPool) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InfoPool) -> bool
[src]
This method tests for !=
.