Struct tmux_interface::commands::buffers::choose_buffer::ChooseBuffer [−][src]
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]
&mut self,
target_pane: S
) -> &mut Self
[-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]
fn clone(&self) -> ChooseBuffer<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for ChooseBuffer<'a>
[src]
impl<'a> Default for ChooseBuffer<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for ChooseBuffer<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for ChooseBuffer<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[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]
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>,