Struct pushgen::structs::Map[][src]

pub struct Map<Gen, Func, Out> { /* fields omitted */ }
Expand description

Implements a mapped generator. See .map() for details.

Implementations

Trait Implementations

Data-type generated by the generator.

Run the generator, emitting values to the output closure. New values are emitted for as long as the closure returns ValueResult::MoreValues. If the closure returns ValueResult::Stop the generator must return GeneratorResult::Stopped. Read more

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.