pub struct State { /* private fields */ }

Implementations

Create a new game state from the solution

Reveal the solution for the current game state

Returns an iterator over the previous guesses

Make a guess.

Errors

If the guess is an invalid word, or if it doesn’t match the requirements of hard mode, this function will return an error

Determine if the game is over.

Displays the score card for this game state to the given fmt::Write.

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.