pub struct KeyTableName(pub String);Expand description
A keybinding belongs to a named table — most live in the default
"root" table but tmux operators recognise "prefix" (active
after C-b) and "copy" (modal copy mode). Tear honours the
same names so dropped-in tmux configs feel native.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for KeyTableName
impl Clone for KeyTableName
Source§fn clone(&self) -> KeyTableName
fn clone(&self) -> KeyTableName
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 KeyTableName
impl Debug for KeyTableName
Source§impl Default for KeyTableName
impl Default for KeyTableName
Source§impl<'de> Deserialize<'de> for KeyTableName
impl<'de> Deserialize<'de> for KeyTableName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for KeyTableName
Source§impl Hash for KeyTableName
impl Hash for KeyTableName
Source§impl Ord for KeyTableName
impl Ord for KeyTableName
Source§fn cmp(&self, other: &KeyTableName) -> Ordering
fn cmp(&self, other: &KeyTableName) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for KeyTableName
impl PartialEq for KeyTableName
Source§impl PartialOrd for KeyTableName
impl PartialOrd for KeyTableName
Source§impl Serialize for KeyTableName
impl Serialize for KeyTableName
impl StructuralPartialEq for KeyTableName
Auto Trait Implementations§
impl Freeze for KeyTableName
impl RefUnwindSafe for KeyTableName
impl Send for KeyTableName
impl Sync for KeyTableName
impl Unpin for KeyTableName
impl UnsafeUnpin for KeyTableName
impl UnwindSafe for KeyTableName
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