pub struct Input {
pub key: Key,
pub origin: InputOrigin,
pub binding: Binding,
}Expand description
An original key together with its provenance and resolved binding.
Fields§
§key: KeyOriginal normalized key, preserved even if its binding changes.
origin: InputOriginSource of the input used to decide whether to record it.
binding: BindingResolution of the original key in the active keymap.
Implementations§
Trait Implementations§
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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