Struct linefeed::writer::Writer [] [src]

pub struct Writer<'a, Term: 'a + Terminal> { /* fields omitted */ }

Provides an interface to write line-by-line output to the terminal device.

Holds a lock on terminal write operations. See Interface for more information about concurrent operations.

An instance of this type can be constructed using the Interface::lock_writer method.

Methods

impl<'a, Term: Terminal> Writer<'a, Term>
[src]

Important traits for HistoryIter<'a>
[src]

Returns an iterator over history entries.

[src]

Writes some text to the terminal device.

Before the Writer is dropped, any output written should be followed by a newline. A newline is automatically written if the writeln! macro is used.

[src]

Writes formatted text to the terminal display.

This method enables Interface to be used as the receiver to the writeln! macro.

If the text contains any unprintable characters (e.g. escape sequences), those characters will be escaped before printing.

Trait Implementations

impl<'a, Term: Terminal> Drop for Writer<'a, Term>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'a, Term> !Send for Writer<'a, Term>

impl<'a, Term> !Sync for Writer<'a, Term>