pub struct MappedBindings { /* private fields */ }Implementations§
Source§impl MappedBindings
impl MappedBindings
Sourcepub fn matches_sequence(&self, seq: &[KeyEvent]) -> bool
pub fn matches_sequence(&self, seq: &[KeyEvent]) -> bool
Sourcepub fn sequence_has_followup(&self, seq: &[KeyEvent]) -> bool
pub fn sequence_has_followup(&self, seq: &[KeyEvent]) -> bool
Sourcepub fn descriptions_for<'a>(
&'a self,
seq: &'a [KeyEvent],
) -> (Option<&'a Text>, impl Iterator<Item = Description<'a>>)
pub fn descriptions_for<'a>( &'a self, seq: &'a [KeyEvent], ) -> (Option<&'a Text>, impl Iterator<Item = Description<'a>>)
The Descriptions for the bindings available, given the
keys sent so far
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MappedBindings
impl !RefUnwindSafe for MappedBindings
impl Send for MappedBindings
impl Sync for MappedBindings
impl Unpin for MappedBindings
impl UnsafeUnpin for MappedBindings
impl !UnwindSafe for MappedBindings
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