Struct linefeed::memory::Lines [] [src]

pub struct Lines<'a> { /* fields omitted */ }

Iterator over lines in a MemoryTerminal buffer.

Note that while this value behaves as an iterator, it cannot implement the Iterator trait because its yielded values borrow self.

Methods

impl<'a> Lines<'a>
[src]

Returns the next line in the buffer.

Returns the number of lines remaining in the iterator.