pub enum SpecialKey {
Show 13 variants
Enter,
Tab,
Shift,
Ctrl,
Alt,
Space,
Escape,
Backspace,
Delete,
Home,
End,
PageUp,
PageDown,
}Expand description
事件处理相关功能 特殊键
Variants§
Enter
Enter 键
Tab
Tab 键
Shift
Shift 键
Ctrl
Ctrl 键
Alt
Alt 键
Space
Space 键
Escape
Escape 键
Backspace
Backspace 键
Delete
Delete 键
Home
Home 键
End
End 键
PageUp
Page Up 键
PageDown
Page Down 键
Trait Implementations§
Source§impl Debug for SpecialKey
impl Debug for SpecialKey
Source§impl<'de> Deserialize<'de> for SpecialKey
impl<'de> Deserialize<'de> for SpecialKey
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
Source§impl PartialEq for SpecialKey
impl PartialEq for SpecialKey
Source§impl Serialize for SpecialKey
impl Serialize for SpecialKey
impl Eq for SpecialKey
impl StructuralPartialEq for SpecialKey
Auto Trait Implementations§
impl Freeze for SpecialKey
impl RefUnwindSafe for SpecialKey
impl Send for SpecialKey
impl Sync for SpecialKey
impl Unpin for SpecialKey
impl UnsafeUnpin for SpecialKey
impl UnwindSafe for SpecialKey
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