Trait pushgen::traits::Product[][src]

pub trait Product<A = Self>: Sized {
    fn product<G>(gen: G) -> Self
    where
        G: Generator<Output = A>
; }
Expand description

Trait to represent types that can be created by multiplying values from a generator.

The trait is used to implement the product() method on generators. Types which implement this trait can be generated by the product() method. This trait is generally interacted with via GeneratorExt::product.

Required methods

Implementations on Foreign Types

Implementors