fn generate(&self, iteration: u64) -> Vec<Alphabet> {
        let mut last: Vec<Alphabet> = self.initial();
        let mut i = 0;
        while i < iteration {
            i += 1;
            last = self.generate_next_iteration(&last);
        }
        last
    }
/// Generates a Lindenmayer system string for `iteration`.
///
/// This is done by starting with the initial sequence, and repeatedly applying the rules to
/// the sequence `iteration` times. The result is a new vector that contains the sequence
/// for the specified iteration.
Generates a Lindenmayer system string for `iteration`.
This is done by starting with the initial sequence, and repeatedly applying the rules to
the sequence `iteration` times. The result is a new vector that contains the sequence
for the specified iteration.
Generates a Lindenmayer system string for ` iteration ` . This is done by starting with the initial sequence and repeatedly applying the rules to the sequence ` iteration ` times . The result is a new vector that contains the sequence for the specified iteration .
fn generate(&self, iteration: u64) -> Vec<Alphabet> {
        let mut last: Vec<Alphabet> = self.initial();
        let mut i = 0;
        while i < iteration {
            i += 1;
            last = self.generate_next_iteration(&last);
        }
        last
    }
fn generate ( & self , iteration : u64 ) -> Vec < Alphabet > { let mut last : Vec < Alphabet > = self . initial ( ) ; let mut i = 0 ; while i < iteration { i += 1 ; last = self . generate_next_iteration ( & last ) ; } last }
Generates a Lindenmayer system string for `iteration`.
Generates a Lindenmayer system string for ` iteration ` .
&self
iteration
u64