pub struct Backend { /* private fields */ }
Available on crate feature termion-backend only.
Expand description

Backend using termion

Implementations

Creates a new termion-based backend.

Uses /dev/tty for input and output.

Creates a new termion-based backend.

Uses stdin and stdout for input/output.

Creates a new termion-based backend using the given input and output files.

Trait Implementations

Returns a name to identify the backend. Read more

Sets the title for the backend. Read more

Starts using a new color. Read more

Enables the given effect. Read more

Disables the given effect.

Should return true if this backend supports colors.

Returns the screen size.

Clears the screen with the given color.

Refresh the screen. Read more

Main method used for printing

Efficient method to print repetitions of the same text. Read more

Polls the backend for any input. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.