Enum keygraph_rs::Direction [] [src]

pub enum Direction {
    Previous,
    Next,
    Same,
}

Enum representing a direction relative to a key on either the horizontal or vertical axis

Variants

Previous refers to above or left to the key

Next refers to below or to the right of the key

Same refers to the same row or column as the reference key

Trait Implementations

impl Debug for Direction
[src]

Formats the value using the given formatter.

impl PartialEq for Direction
[src]

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

This method tests for !=.

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]