Struct tmux_interface::commands::buffers::choose_buffer::ChooseBuffer[][src]

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

Stucture for putting a pane into buffer mode

Manual

tmux ^3.1:

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

tmux ^2.7:

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

tmux ^2.6:

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

tmux ^1.7:

tmux choose-buffer [-F format] [-t target-pane] [template]

tmux ^1.3:

tmux choose-buffer [-t target-pane] [template]

Implementations

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

pub fn new() -> Self[src]

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

[-N] - start without the preview

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] - specify the format for each item in the list

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

[-f filter] - specify an initial 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] - specify the target pane

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

[template] - specify the template

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

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ChooseBuffer<'a>

impl<'a> Send for ChooseBuffer<'a>

impl<'a> Sync for ChooseBuffer<'a>

impl<'a> Unpin for ChooseBuffer<'a>

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