Struct tmux_interface::commands::buffers::paste_buffer::PasteBuffer[][src]

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

Structure for inserting the contents of a paste buffer into the specified pane

Manual

tmux ^1.7:

tmux paste-buffer [-dpr] [-b buffer-name] [-s separator] [-t target-pane]
(alias: pasteb)

tmux ^1.3:

tmux paste-buffer [-dr] [-b buffer-index] [-s separator] [-t target-window]
(alias: pasteb)

tmux ^1.0:

tmux paste-buffer [-dr] [-b buffer-index] [-t target-window]
(alias: pasteb)

tmux ^0.8:

tmux paste-buffer [-d] [-b buffer-index] [-t target-window]
(alias: pasteb)

Implementations

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

pub fn new() -> Self[src]

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

[-d] - delete the paste buffer

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

[-p] - paste bracket control codes are inserted around the buffer

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

[-r] - do no replacement (equivalent to a separator of LF)

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

[-b buffer-name] - specify the buffer mode

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

[-s separator] - specify a separator

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 output(&self) -> Result<TmuxOutput, Error>[src]

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for PasteBuffer<'a>

impl<'a> Send for PasteBuffer<'a>

impl<'a> Sync for PasteBuffer<'a>

impl<'a> Unpin for PasteBuffer<'a>

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