pub struct KeyPress {
pub type: String,
pub keys: Vec<String>,
}
Expand description
A collection of keypresses the model would like to perform.
Fields§
§type: String
Specifies the event type.
keys: Vec<String>
The combination of keys the model is requesting to be pressed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyPress
impl RefUnwindSafe for KeyPress
impl Send for KeyPress
impl Sync for KeyPress
impl Unpin for KeyPress
impl UnwindSafe for KeyPress
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