Trait utility_programming::Generator [] [src]

pub trait Generator {
    type Output;
    fn generate(&mut self) -> Self::Output;
}

Implemented by objects that generates other objects.

Associated Types

The type of the object generated.

Required Methods

Generate a new object.

This might be indeterministic.

Implementations on Foreign Types

impl<T: Generator> Generator for Vec<T>
[src]

[src]

Implementors