pub struct ParsedKey {
pub kind: &'static str,
pub name: Option<String>,
pub fn_key: bool,
pub ctrl: bool,
pub meta: bool,
pub shift: bool,
pub option: bool,
pub super_key: bool,
pub sequence: Option<String>,
pub raw: Option<String>,
pub code: Option<String>,
pub is_pasted: bool,
}Expand description
A parsed keypress from terminal input.
Fields§
§kind: &'static str§name: Option<String>§fn_key: bool§ctrl: bool§meta: bool§shift: bool§option: bool§super_key: bool§sequence: Option<String>§raw: Option<String>§code: Option<String>§is_pasted: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedKey
impl RefUnwindSafe for ParsedKey
impl Send for ParsedKey
impl Sync for ParsedKey
impl Unpin for ParsedKey
impl UnsafeUnpin for ParsedKey
impl UnwindSafe for ParsedKey
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