pub struct ShortcutBinding {
pub key: String,
pub registered: String,
pub description: Option<String>,
pub path: String,
pub extension: Arc<dyn Extension>,
}Expand description
An extension shortcut the interactive mode honors.
Fields§
§key: StringThe key id, lowercased.
registered: StringThe key id as the extension registered it.
description: Option<String>What it does.
path: StringThe extension’s path.
extension: Arc<dyn Extension>The extension.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ShortcutBinding
impl !UnwindSafe for ShortcutBinding
impl Freeze for ShortcutBinding
impl Send for ShortcutBinding
impl Sync for ShortcutBinding
impl Unpin for ShortcutBinding
impl UnsafeUnpin for ShortcutBinding
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