pub struct KeyBindingTable { /* private fields */ }Expand description
One key table.
Implementations§
Source§impl KeyBindingTable
impl KeyBindingTable
Sourcepub const fn references(&self) -> usize
pub const fn references(&self) -> usize
Returns the current reference count.
Sourcepub const fn active(&self) -> &BTreeMap<KeyCode, KeyBinding>
pub const fn active(&self) -> &BTreeMap<KeyCode, KeyBinding>
Returns the active binding tree.
Sourcepub const fn defaults(&self) -> &BTreeMap<KeyCode, KeyBinding>
pub const fn defaults(&self) -> &BTreeMap<KeyCode, KeyBinding>
Returns the default binding tree snapshot.
Trait Implementations§
Source§impl Clone for KeyBindingTable
impl Clone for KeyBindingTable
Source§fn clone(&self) -> KeyBindingTable
fn clone(&self) -> KeyBindingTable
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 KeyBindingTable
impl Debug for KeyBindingTable
impl Eq for KeyBindingTable
Source§impl PartialEq for KeyBindingTable
impl PartialEq for KeyBindingTable
impl StructuralPartialEq for KeyBindingTable
Auto Trait Implementations§
impl Freeze for KeyBindingTable
impl RefUnwindSafe for KeyBindingTable
impl Send for KeyBindingTable
impl Sync for KeyBindingTable
impl Unpin for KeyBindingTable
impl UnsafeUnpin for KeyBindingTable
impl UnwindSafe for KeyBindingTable
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