pub struct KeySpec {
pub modifiers: Vec<String>,
pub keys: Vec<Key>,
}Fields§
§modifiers: Vec<String>修饰键,已按 ctrl→shift→alt→win 归一顺序去重
keys: Vec<Key>Trait Implementations§
impl Eq for KeySpec
impl StructuralPartialEq for KeySpec
Auto Trait Implementations§
impl Freeze for KeySpec
impl RefUnwindSafe for KeySpec
impl Send for KeySpec
impl Sync for KeySpec
impl Unpin for KeySpec
impl UnsafeUnpin for KeySpec
impl UnwindSafe for KeySpec
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