pub struct PendingEntry {
pub next: Chord,
pub command: Option<&'static str>,
pub bindings: usize,
}Expand description
A key that could come next, for the which-key popup.
Fields§
§next: Chord§command: Option<&'static str>Some when this key completes a binding, None when it only opens a deeper prefix.
bindings: usizeHow many bindings live under this key. > 1 means it is a group.
Trait Implementations§
Source§impl Clone for PendingEntry
impl Clone for PendingEntry
Source§fn clone(&self) -> PendingEntry
fn clone(&self) -> PendingEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PendingEntry
impl Debug for PendingEntry
impl Eq for PendingEntry
Source§impl PartialEq for PendingEntry
impl PartialEq for PendingEntry
impl StructuralPartialEq for PendingEntry
Auto Trait Implementations§
impl Freeze for PendingEntry
impl RefUnwindSafe for PendingEntry
impl Send for PendingEntry
impl Sync for PendingEntry
impl Unpin for PendingEntry
impl UnsafeUnpin for PendingEntry
impl UnwindSafe for PendingEntry
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