Struct cursive::backend::dummy::Backend

source ·
pub struct Backend { /* private fields */ }
Expand description

Dummy backend that does nothing and immediately exits.

Mostly used for testing.

Implementations

Creates a new dummy backend.

Trait Implementations

Prepares to close the backend. Read more
Refresh the screen.
Should return true if this backend supports colors.
Returns the screen size.
Prepares the backend to collect input. Read more
Starts a thread to collect input and send it to the given channel. Read more
Main method used for printing
Clears the screen with the given color.
Starts using a new color. Read more
Enables the given effect.
Disables the given effect.

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.

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.