Struct dicetest::adapters::MapDie[][src]

pub struct MapDie<T, U, D, F> { /* fields omitted */ }
Expand description

Adapter for DieOnce::map_once and Die::map.

Implementations

Trait Implementations

Generates a pseudorandom value. Read more

Creates a new Die by mapping the generated values of self. Read more

Creates a new Die whose values are generated by the generated Dies of self.

Creates a new Die similar to map, except that the mapping produces DieOnces. Read more

Puts self behind a Box pointer.

Puts self behind an Rc pointer.

Puts self behind an Arc pointer.

Consumes the generator and generates a pseudorandom value. Read more

Creates a new DieOnce by mapping the generated values of self. Read more

Creates a new DieOnce whose value is generated by the generated DieOnce of self.

Creates a new DieOnce similar to map_once, except that the mapping produces a DieOnce. Read more

Puts self behind a Box pointer.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.