pub struct Backend { /* fields omitted */ }
This is supported on crate feature termion-backend
only.
Expand description
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.
Returns a name to identify the backend. Read more
Disables the given effect.
Should return true
if this backend supports colors.
Clears the screen with the given color.
Main method used for printing
Efficient method to print repetitions of the same text. Read more
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
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
.