Struct cursive::backends::puppet::Backend[][src]

pub struct Backend { /* fields omitted */ }
Expand description

Puppet backend for testing.

Implementations

Creates new Puppet backend of given or default size.

Returns current ObservedStyle

Ouput stream of consecutive frames rendered by Puppet backend

Input stream to inject artificial input to Puppet backend.

Trait Implementations

Polls the backend for any input. Read more

Refresh the screen. Read more

Should return true if this backend supports colors.

Returns the screen size.

Main method used for printing

Clears the screen with the given color.

Starts using a new color. Read more

Enables the given effect. Read more

Disables the given effect.

Efficient method to print repetitions of the same text. Read more

Returns a name to identify the backend. Read more

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.