pub struct TmuxCommand { /* private fields */ }Expand description
A single tmux CLI invocation, stored as its argument list.
Can be inspected as a string (for dry-run / testing) or executed.
Implementations§
Source§impl TmuxCommand
impl TmuxCommand
Sourcepub fn as_command_string(&self) -> String
pub fn as_command_string(&self) -> String
Return a human-readable command string (e.g. tmux new-session -d -s paw-proj).
Trait Implementations§
Source§impl Clone for TmuxCommand
impl Clone for TmuxCommand
Source§fn clone(&self) -> TmuxCommand
fn clone(&self) -> TmuxCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 TmuxCommand
impl Debug for TmuxCommand
Source§impl PartialEq for TmuxCommand
impl PartialEq for TmuxCommand
impl Eq for TmuxCommand
impl StructuralPartialEq for TmuxCommand
Auto Trait Implementations§
impl Freeze for TmuxCommand
impl RefUnwindSafe for TmuxCommand
impl Send for TmuxCommand
impl Sync for TmuxCommand
impl Unpin for TmuxCommand
impl UnsafeUnpin for TmuxCommand
impl UnwindSafe for TmuxCommand
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