Struct tmux_interface::commands::windows_and_panes::kill_window::KillWindow[][src]

pub struct KillWindow<'a>(pub TmuxCommand<'a>);

Kill the current window or the window at target-window, removing it from any sessions to which it is linked

Manual

tmux ^1.7:

tmux kill-window [-a] [-t target-window]
(alias: killw)

tmux ^0.8:

tmux kill-window [-a] [-t target-window]
(alias: killw)

Implementations

impl<'a> KillWindow<'a>[src]

pub fn new() -> Self[src]

pub fn parent_sighup(&mut self) -> &mut Self[src]

[-a]

pub fn target_window<S: Into<Cow<'a, str>>>(
    &mut self,
    target_window: S
) -> &mut Self
[src]

[-t target-window]

pub fn output(&self) -> Result<TmuxOutput, Error>[src]

Trait Implementations

impl<'a> Clone for KillWindow<'a>[src]

impl<'a> Debug for KillWindow<'a>[src]

impl<'a> Default for KillWindow<'a>[src]

impl<'a> From<&'_ TmuxCommand<'a>> for KillWindow<'a>[src]

impl<'a> From<TmuxCommand<'a>> for KillWindow<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for KillWindow<'a>

impl<'a> Send for KillWindow<'a>

impl<'a> Sync for KillWindow<'a>

impl<'a> Unpin for KillWindow<'a>

impl<'a> UnwindSafe for KillWindow<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.