pub enum ShortcutKey {
}Expand description
快捷键主键(不包含修饰键)。
Char 只支持 ASCII 字母、数字与常见标点;名称键覆盖导航/编辑/F1–F24。
Variants§
Char(char)
Enter
Escape
Tab
Space
Backspace
Delete
Insert
Left
Right
Up
Down
Home
End
PageUp
PageDown
F(u8)
F1–F24;非法范围在注册/构建菜单时返回错误。
Trait Implementations§
Source§impl Clone for ShortcutKey
impl Clone for ShortcutKey
impl Copy for ShortcutKey
Source§impl Debug for ShortcutKey
impl Debug for ShortcutKey
impl Eq for ShortcutKey
Source§impl Hash for ShortcutKey
impl Hash for ShortcutKey
Source§impl PartialEq for ShortcutKey
impl PartialEq for ShortcutKey
impl StructuralPartialEq for ShortcutKey
Auto Trait Implementations§
impl Forget for ShortcutKey
impl Freeze for ShortcutKey
impl Move for ShortcutKey
impl RefUnwindSafe for ShortcutKey
impl Send for ShortcutKey
impl Sync for ShortcutKey
impl Unpin for ShortcutKey
impl UnsafeUnpin for ShortcutKey
impl UnwindSafe for ShortcutKey
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