pub fn next(&mut self) -> Option<&[char]> {
        if self.line >= self.writer.size.lines {
            None
        } else {
            let start = self.writer.size.columns * self.line;
            self.line += 1;
            let end = self.writer.size.columns * self.line;

            Some(&self.writer.memory[start..end])
        }
    }
/// Returns the next line in the buffer.
Returns the next line in the buffer.
Returns the next line in the buffer .
pub fn next(&mut self) -> Option<&[char]> {
        if self.line >= self.writer.size.lines {
            None
        } else {
            let start = self.writer.size.columns * self.line;
            self.line += 1;
            let end = self.writer.size.columns * self.line;
            Some(&self.writer.memory[start..end])
        }
    }
pub fn next ( & mut self ) -> Option < & [ char ] > { if self . line >= self . writer . size . lines { None } else { let start = self . writer . size . columns * self . line ; self . line += 1 ; let end = self . writer . size . columns * self . line ; Some ( & self . writer . memory [ start .. end ] ) } }
Returns the next line in the buffer.
Returns the next line in the buffer .
&mut self
&mut self