pub enum WireLocation {
Standard,
Left,
Right,
Numpad,
}Expand description
Where a key is on the keyboard.
Variants§
Standard
The main block.
Left
The left of a pair, such as left Shift.
Right
The right of a pair.
Numpad
The numeric keypad.
Trait Implementations§
Source§impl Clone for WireLocation
impl Clone for WireLocation
impl Copy for WireLocation
Source§impl Debug for WireLocation
impl Debug for WireLocation
Source§impl Default for WireLocation
impl Default for WireLocation
Source§impl<'de> Deserialize<'de> for WireLocation
impl<'de> Deserialize<'de> for WireLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WireLocation
Source§impl Hash for WireLocation
impl Hash for WireLocation
Source§impl PartialEq for WireLocation
impl PartialEq for WireLocation
Source§impl Serialize for WireLocation
impl Serialize for WireLocation
impl StructuralPartialEq for WireLocation
Auto Trait Implementations§
impl Forget for WireLocation
impl Freeze for WireLocation
impl Move for WireLocation
impl RefUnwindSafe for WireLocation
impl Send for WireLocation
impl Sync for WireLocation
impl Unpin for WireLocation
impl UnsafeUnpin for WireLocation
impl UnwindSafe for WireLocation
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