Enum sudoku::Difficulty [] [src]

pub enum Difficulty {
    Beginner,
    Easy,
    Intermediate,
    Difficult,
    Advanced,
    // some variants omitted
}

Represents the difficulty of a puzzle.

Variants

Very easy puzzles, ideal for learning a new game.

More advanced puzzles, good for practicing a new game.

Intermediate puzzles, good for a casual puzzle-solving session.

Advanced, thought-provoking puzzles.

Coffee shop puzzles.

Trait Implementations

impl Clone for Difficulty
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Difficulty
[src]

impl Debug for Difficulty
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Difficulty
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl PartialOrd for Difficulty
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl From<usize> for Difficulty
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Difficulty

impl Sync for Difficulty