pub struct Edge {
pub horizontal: Direction,
pub vertical: Direction,
}
Expand description
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 Copy for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more