Struct ascii_hangman_backend::Backend[][src]

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

State of the application.

Trait Implementations

Formats the value using the given formatter. Read more

Initialize the application with config data and start the first game.

The user_input is a key stroke. The meaning depends on the game’s state:

Renders the image. Make sure it is up to date with self.image.update().

Forward the private image dimension

Renders the partly hidden secret.

Informs about some game statistics: lifes

Informs about some game statistics: last guess

Tells the user what to do next.

Forwards the game’s state

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.