pub struct Binding {
pub keys: Vec<KeyPress>,
pub command: String,
pub when: Option<String>,
}Fields§
§keys: Vec<KeyPress>One key, or two for a chord (ctrl+k ctrl+x).
command: String§when: Option<String>Trait Implementations§
impl Eq for Binding
impl StructuralPartialEq for Binding
Auto Trait Implementations§
impl Forget for Binding
impl Freeze for Binding
impl Move for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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