Struct tmux_interface::commands::key_bindings::list_keys::ListKeys
source · pub struct ListKeys<'a> {
pub first: bool,
pub command: bool,
pub with_notes: bool,
pub prefix_string: Option<Cow<'a, str>>,
pub key_table: Option<Cow<'a, str>>,
}
Expand description
§Manual
tmux ^3.1:
list-keys [-1aN] [-P prefix-string -T key-table]
(alias: lsk)
tmux ^2.4:
list-keys [-T key-table]
(alias: lsk)
tmux ^2.1:
list-keys [-t mode-table] [-T key-table]
(alias: lsk)
tmux ^0.8:
list-keys [-t key-table]
(alias: lsk)
Fields§
§first: bool
[-1]
command: bool
[-a]
with_notes: bool
[-N]
prefix_string: Option<Cow<'a, str>>
[-P prefix-string]
key_table: Option<Cow<'a, str>>
[-t key-table]
[-T key-table]
Implementations§
source§impl<'a> ListKeys<'a>
impl<'a> ListKeys<'a>
pub fn new() -> Self
sourcepub fn with_notes(self) -> Self
pub fn with_notes(self) -> Self
[-N]
sourcepub fn prefix_string<S: Into<Cow<'a, str>>>(self, prefix_string: S) -> Self
pub fn prefix_string<S: Into<Cow<'a, str>>>(self, prefix_string: S) -> Self
[-P prefix-string]
sourcepub fn key_table<S: Into<Cow<'a, str>>>(self, key_table: S) -> Self
pub fn key_table<S: Into<Cow<'a, str>>>(self, key_table: S) -> Self
[-t key-table]
[-T key-table]
pub fn build(self) -> TmuxCommand<'a>
Trait Implementations§
source§impl<'a> From<ListKeys<'a>> for TmuxCommand<'a>
impl<'a> From<ListKeys<'a>> for TmuxCommand<'a>
source§impl<'a> Ord for ListKeys<'a>
impl<'a> Ord for ListKeys<'a>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for ListKeys<'a>
impl<'a> PartialEq for ListKeys<'a>
source§impl<'a> PartialOrd for ListKeys<'a>
impl<'a> PartialOrd for ListKeys<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Eq for ListKeys<'a>
impl<'a> StructuralPartialEq for ListKeys<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ListKeys<'a>
impl<'a> Send for ListKeys<'a>
impl<'a> Sync for ListKeys<'a>
impl<'a> Unpin for ListKeys<'a>
impl<'a> UnwindSafe for ListKeys<'a>
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