Struct tmux_interface::commands::windows_and_panes::respawn_pane::RespawnPane [−][src]
Reactivate a pane in which the command has exited
Manual
tmux ^3.0:
tmux respawn-pane [-k] [-c start-directory] [-e environment] [-t target-pane] [shell-command]
(alias: respawnp)
tmux ^2.6:
tmux respawn-pane [-k] [-c start-directory] [-t target-pane] [shell-command]
(alias: respawnp)
tmux ^1.5:
tmux respawn-pane [-k] [-t target-pane] [shell-command]
(alias: respawnp)
Implementations
impl<'a> RespawnPane<'a>
[src]
pub fn new() -> Self
[src]
pub fn kill(&mut self) -> &mut Self
[src]
[-k]
- any existing command is killed
pub fn start_directory<S: Into<Cow<'a, str>>>(
&mut self,
start_directory: S
) -> &mut Self
[src]
&mut self,
start_directory: S
) -> &mut Self
[-c start-directory]
- start-directory
pub fn target_pane<S: Into<Cow<'a, str>>>(
&mut self,
target_pane: S
) -> &mut Self
[src]
&mut self,
target_pane: S
) -> &mut Self
[-t target-pane]
- target-pane
pub fn shell_command<S: Into<Cow<'a, str>>>(
&mut self,
shell_command: S
) -> &mut Self
[src]
&mut self,
shell_command: S
) -> &mut Self
[shell-command]
- shell-command
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for RespawnPane<'a>
[src]
fn clone(&self) -> RespawnPane<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for RespawnPane<'a>
[src]
impl<'a> Default for RespawnPane<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for RespawnPane<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for RespawnPane<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for RespawnPane<'a>
impl<'a> Send for RespawnPane<'a>
impl<'a> Sync for RespawnPane<'a>
impl<'a> Unpin for RespawnPane<'a>
impl<'a> UnwindSafe for RespawnPane<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,