pub struct Backend { /* fields omitted */ }
This is supported on crate feature crossterm-backend
only.
Expand description
Creates a new crossterm backend.
Should return true
if this backend supports colors.
Main method used for printing
Efficient method to print repetitions of the same text. Read more
Clears the screen with the given color.
Disables the given effect.
Returns a name to identify the backend. Read more
Executes the destructor for this type. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
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
.