pub struct CommandEntry {
pub name: &'static str,
pub alias: Option<&'static str>,
}Expand description
Frozen tmux command table entry used for command lookup.
Fields§
§name: &'static strThe canonical tmux command name.
alias: Option<&'static str>The exact tmux alias, when the frozen entry declares one.
Trait Implementations§
Source§impl Clone for CommandEntry
impl Clone for CommandEntry
Source§fn clone(&self) -> CommandEntry
fn clone(&self) -> CommandEntry
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 moreimpl Copy for CommandEntry
Source§impl Debug for CommandEntry
impl Debug for CommandEntry
impl Eq for CommandEntry
Source§impl PartialEq for CommandEntry
impl PartialEq for CommandEntry
impl StructuralPartialEq for CommandEntry
Auto Trait Implementations§
impl Freeze for CommandEntry
impl RefUnwindSafe for CommandEntry
impl Send for CommandEntry
impl Sync for CommandEntry
impl Unpin for CommandEntry
impl UnsafeUnpin for CommandEntry
impl UnwindSafe for CommandEntry
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