Struct suppositions::generators::OneOfSnoc [] [src]

pub struct OneOfSnoc<G, R> { /* fields omitted */ }

Internal implementation for one_of. Forms a left-associated chain of generators.

Trait Implementations

impl<G: Debug, R: Debug> Debug for OneOfSnoc<G, R>
[src]

[src]

Formats the value using the given formatter.

impl<G: Clone, R: Clone> Clone for OneOfSnoc<G, R>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<G: Generator, R: OneOfItem<Item = G::Item>> OneOfItem for OneOfSnoc<G, R>
[src]

The generator type.

[src]

The number of cases reachable from this one.

[src]

Depending on the case selected in the Generator ipmlementation for (OneOfGenerator)[struct.OneOfGenerator.html], we either call our generator directly, or delegate to the next in the chain. Read more