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]

[src]

Create an InfoPool with a given vector of bytes. (Mostly used for testing).

[src]

Create an InfoPool with a size length vector of random bytes using the generator rng. (Mostly used for testing).

[src]

Allows access to the underlying buffer.

[src]

Creates a tap that allows drawing new information from this pool.

[src]

Creates a tap that allows drawing new information from this pool.

Trait Implementations

impl Clone for InfoPool
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for InfoPool
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for InfoPool
[src]

[src]

Formats the value using the given formatter.