Struct screenprints::Printer [] [src]

pub struct Printer { /* fields omitted */ }

A Printer buffers writes and flushes at a specified interval, clearing the display of any lines of text previously written

Methods

impl Printer
[src]

Creates a new Printer instance that delegates writes to the provided Write instance delayed at the interval provided

clear the current buffer and reset linecount

close the printer, afterwhich all writes will be discarded

Trait Implementations

impl Write for Printer
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl Drop for Printer
[src]

A method called when the value goes out of scope. Read more