[][src]Struct tmux_interface::windows_and_panes::ResizePane

pub struct ResizePane<'a> {
    pub down: Option<bool>,
    pub left: Option<bool>,
    pub mouse: Option<bool>,
    pub right: Option<bool>,
    pub up: Option<bool>,
    pub zoom: Option<bool>,
    pub target_pane: Option<&'a str>,
    pub width: Option<usize>,
    pub height: Option<usize>,
    pub adjustment: Option<&'a str>,
}

Resize a pane, up, down, left or right

Manual

tmux resize-pane [-DLMRUZ] [-t target-pane] [-x width] [-y height] [adjustment]
(alias: resizep)

Fields

down: Option<bool>

[-D] - resize down by adjustment

left: Option<bool>

[-L] - resize left by adjustment

mouse: Option<bool>

[-M] - begin mouse resizing

right: Option<bool>

[-R] - resize right by adjustment

up: Option<bool>

[-U] - resize up by adjustment

zoom: Option<bool>

[-Z] - the active pane is toggled between zoomed and unzoomed

target_pane: Option<&'a str>

[-t target-pane] - target-pane

width: Option<usize>

[-x width] - absolute size

height: Option<usize>

[-y height] - absolute size

adjustment: Option<&'a str>

[adjustment] - adjustment

Methods

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

pub fn new() -> ResizePane<'a>[src]

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ResizePane<'a>

impl<'a> Send for ResizePane<'a>

impl<'a> Sync for ResizePane<'a>

impl<'a> Unpin for ResizePane<'a>

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