pub enum WireKey {
Named(NamedKey),
Character(String),
Unidentified,
}Expand description
A logical key.
Variants§
Named(NamedKey)
A named key such as Enter.
Character(String)
The text a key types.
Unidentified
A key with no known meaning.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireKey
impl<'de> Deserialize<'de> for WireKey
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 WireKey
impl StructuralPartialEq for WireKey
Auto Trait Implementations§
impl Forget for WireKey
impl Freeze for WireKey
impl Move for WireKey
impl RefUnwindSafe for WireKey
impl Send for WireKeywhere
RawVecInner: Send,
impl Sync for WireKeywhere
RawVecInner: Sync,
impl Unpin for WireKey
impl UnsafeUnpin for WireKey
impl UnwindSafe for WireKeywhere
RawVecInner: UnwindSafe,
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