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
Previous refers to above or left to the key
Next
Next refers to below or to the right of the key
Same
Same refers to the same row or column as the reference key
Trait Implementations
impl Debug for Direction
[src]
impl PartialEq for Direction
[src]
fn eq(&self, __arg_0: &Direction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for Direction
[src]
fn clone(&self) -> Direction
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