Struct suppositions::generators::OneOfTerm
[−]
[src]
pub struct OneOfTerm<G> { /* fields omitted */ }
Internal implementation for one_of
. Forms the
terminating case of the induction.
Trait Implementations
impl<G: Debug> Debug for OneOfTerm<G>
[src]
impl<G: Clone> Clone for OneOfTerm<G>
[src]
fn clone(&self) -> OneOfTerm<G>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<G: Generator> OneOfItem for OneOfTerm<G>
[src]
type Item = G::Item
The generator type.
fn len(&self) -> usize
[src]
The number of cases reachable from this one.
fn generate_or_delegate<I: Iterator<Item = u8>>(
&self,
depth: usize,
tap: &mut I
) -> Maybe<Self::Item>
[src]
&self,
depth: usize,
tap: &mut I
) -> Maybe<Self::Item>
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