pub struct Backend { /* fields omitted */ }
This is supported on crate feature ncurses-backend
only.
Expand description
Creates a new ncurses-based backend.
Uses /dev/tty
for input/output.
Creates a new ncurses-based backend.
Uses stdin/stdout for input/output.
Creates a new ncurses-based backend using the given files for input/output.
Returns a name to identify the backend. Read more
Should return true
if this backend supports colors.
Disables the given effect.
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
.