Struct cursive::backend::Dummy[][src]

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

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

Performs the conversion.

Performs the conversion.

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.

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.