Struct cursive_core::backend::Dummy

source ·
pub struct Dummy;
Expand description

Dummy backend that does nothing and immediately exits.

Mostly used for testing.

Implementations§

Creates a new dummy backend.

Trait Implementations§

Returns a name to identify the backend. Read more
Sets the title for the backend. Read more
Refresh the screen. Read more
Should return true if this backend supports colors.
Returns the screen size.
Polls the backend for any input. Read more
Main method used for printing
Efficient method to print repetitions of the same text. Read more
Clears the screen with the given color.
Starts using a new color. Read more
Enables the given effect. Read more
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.

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.