Struct tmux_interface::commands::windows_and_panes::resize_pane::ResizePane [−][src]
Resize a pane, up, down, left or right
Manual
tmux ^2.1:
tmux resize-pane [-DLMRUZ] [-t target-pane] [-x width] [-y height] [adjustment]
(alias: resizep)
tmux ^1.8:
tmux resize-pane [-DLRUZ] [-t target-pane] [-x width] [-y height] [adjustment]
(alias: resizep)
tmux ^1.0:
tmux resize-pane [-DLRU] [-t target-pane] [adjustment]
(alias: resizep)
tmux ^0.9:
tmux resize-pane [-DU] [-p pane-index] [-t target-pane] [adjustment]
(alias: resizep)
Implementations
impl<'a> ResizePane<'a>
[src]
pub fn new() -> Self
[src]
pub fn down(&mut self) -> &mut Self
[src]
[-D]
- resize down by adjustment
pub fn left(&mut self) -> &mut Self
[src]
[-L]
- resize left by adjustment
pub fn mouse(&mut self) -> &mut Self
[src]
[-M]
- begin mouse resizing
pub fn right(&mut self) -> &mut Self
[src]
[-R]
- resize right by adjustment
pub fn up(&mut self) -> &mut Self
[src]
[-U]
- resize up by adjustment
pub fn zoom(&mut self) -> &mut Self
[src]
[-Z]
- the active pane is toggled between zoomed and unzoomed
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]
- target-pane
pub fn width(&mut self, width: usize) -> &mut Self
[src]
[-x width]
- absolute size
pub fn height(&mut self, height: usize) -> &mut Self
[src]
[-y height]
- absolute size
pub fn adjustment<S: Into<Cow<'a, str>>>(&mut self, adjustment: S) -> &mut Self
[src]
[adjustment]
- adjustment
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for ResizePane<'a>
[src]
fn clone(&self) -> ResizePane<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for ResizePane<'a>
[src]
impl<'a> Default for ResizePane<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for ResizePane<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for ResizePane<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[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]
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>,