Struct tmux_interface::commands::options::show_options::ShowOptions[][src]

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

Structure for showing options

Manual

tmux ^3.0:

tmux show-options [-AgHpqsvw] [-t target-pane] [option]
(alias: show)

tmux ^1.8:

tmux show-options [-gqsvw] [-t target-session | target-window] [option]
(alias: show)

tmux ^1.7:

tmux show-options [-gsw] [-t target-session | target-window] [option]
(alias: show)

tmux ^1.2:

tmux show-options [-gsw] [-t target-session | target-window]
(alias: show)

tmux ^1.0:

tmux show-options [-t target-session]
(alias: show)

tmux ^0.8:

tmux show-options [-t target-session] option value
(alias: show)

Implementations

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

pub fn new() -> Self[src]

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

[-g] - global session or window options are listed

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

[-q] - no error will be returned if option is unset

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

[-s] - show the server options

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

[-v] - shows only the option value

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

[-w] - show the window options

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

[-t target-pane] - target session or window name

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

[option] - specify option name

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

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ShowOptions<'a>

impl<'a> Send for ShowOptions<'a>

impl<'a> Sync for ShowOptions<'a>

impl<'a> Unpin for ShowOptions<'a>

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