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
horizontal: Direction
Relative horizontal position
vertical: Direction
Relative Vertical position
Trait Implementations
impl Debug for Edge[src]
impl PartialEq for Edge[src]
fn eq(&self, __arg_0: &Edge) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Edge) -> bool
This method tests for !=.
impl Clone for Edge[src]
fn clone(&self) -> Edge
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more