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