pub struct KeyBind {
pub chord: KeyChord,
pub action: Action,
pub note: String,
}Expand description
Single binding row in a KeyTable.
Fields§
§chord: KeyChord§action: Action§note: StringFree-form note rendered by tear keybinds list — operators
often forget what they bound; this is the affordance.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyBind
impl<'de> Deserialize<'de> for KeyBind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for KeyBind
Auto Trait Implementations§
impl Freeze for KeyBind
impl RefUnwindSafe for KeyBind
impl Send for KeyBind
impl Sync for KeyBind
impl Unpin for KeyBind
impl UnsafeUnpin for KeyBind
impl UnwindSafe for KeyBind
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