Struct tmux_interface::commands::windows_and_panes::choose_tree::ChooseTree[][src]

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

Put a pane into tree mode, where a session, window or pane may be chosen interactively from a list

Manual

tmux ^3.1:

tmux choose-tree [-GNrswZ] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]

tmux ^2.7:

tmux choose-tree [-GNswZ] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]

tmux ^2.6:

tmux choose-tree [-Nsw] [-F format] [-f filter] [-O sort-order] [-t target-pane] [template]

tmux ^1.8:

tmux choose-tree [-suw] [-b session-template] [-c window-template] [-S format] [-W format]
[-t target-window]

tmux ^1.7:

tmux choose-tree [-sw] [-b session-template] [-c window-template] [-S format] [-W format]
[-t target-window]

Implementations

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

pub fn new() -> Self[src]

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

[-G] - include all sessions in any session groups in the tree rather than only the first

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

[-N] - start without the preview

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

[-s] - start with collapsed sessions

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

[-w] - start with collapsed windows

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

[-Z] - zoom the pane

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

[-F format] - format

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

[-f filter] - filter

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

[-O sort-order] - specifies the initial sort field

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

[-t target-pane] - target-pane

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

[template] - template

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

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ChooseTree<'a>

impl<'a> Send for ChooseTree<'a>

impl<'a> Sync for ChooseTree<'a>

impl<'a> Unpin for ChooseTree<'a>

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