Struct keygraph_rs::Edge [] [src]

pub struct Edge {
    pub horizontal: Direction,
    pub vertical: Direction,
}

Struct to represent the relative positioning of one key to a neighbouring key

Fields

Relative horizontal position

Relative Vertical position

Trait Implementations

impl Debug for Edge
[src]

Formats the value using the given formatter.

impl PartialEq for Edge
[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 Edge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Edge
[src]