[][src]Struct tmux_interface::windows_and_panes::LinkWindow

pub struct LinkWindow<'a> {
    pub add: Option<bool>,
    pub detached: Option<bool>,
    pub kill: Option<bool>,
    pub src_window: Option<&'a str>,
    pub dst_window: Option<&'a str>,
}

Link the window at src-window to the specified dst-window

Manual

tmux link-window [-adk] [-s src-window] [-t dst-window]
(alias: linkw)

Fields

add: Option<bool>

[-a] - the window is moved to the next index up

detached: Option<bool>

[-d] - the newly linked window is not selected

kill: Option<bool>

[-k] - if dst-window exists, it is killed, otherwise an error is generated

src_window: Option<&'a str>

[-s src-window] - src-window

dst_window: Option<&'a str>

[-t dst-window] - dst-window

Methods

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

pub fn new() -> LinkWindow<'a>[src]

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for LinkWindow<'a>

impl<'a> Send for LinkWindow<'a>

impl<'a> Sync for LinkWindow<'a>

impl<'a> Unpin for LinkWindow<'a>

impl<'a> UnwindSafe for LinkWindow<'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, 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.