/// Advance to the next state, return whether done.
Advance to the next state, return whether done.
Advance to the next state return whether done .
fn increment(&mut self) -> bool {
            if self.i < 500 {
                self.i += 1;
                return false;
            }
            if self.m < 8 {
                self.m += 1;
                self.i = 0;
                return false;
            }
            true
        }
fn increment ( & mut self ) -> bool { if self . i < 500 { self . i += 1 ; return false ; } if self . m < 8 { self . m += 1 ; self . i = 0 ; return false ; } true }
Advance to the next state, return whether done.
Advance to the next state return whether done .
&mut self