Struct tmux_interface::commands::buffers::paste_buffer::PasteBuffer [−][src]
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]
&mut self,
buffer_name: S
) -> &mut Self
[-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]
&mut self,
target_pane: S
) -> &mut Self
[-t target-pane]
- specify the target pane
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for PasteBuffer<'a>
[src]
fn clone(&self) -> PasteBuffer<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for PasteBuffer<'a>
[src]
impl<'a> Default for PasteBuffer<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for PasteBuffer<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for PasteBuffer<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,