Struct tmux_interface::commands::windows_and_panes::move_pane::MovePane [−][src]
Like join-pane, but src-pane
and dst-pane
may belong to the same window
Manual
tmux ^3.1:
tmux move-pane [-bdhv] [-l size] [-s src-pane] [-t dst-pane]
(alias: movep)
tmux ^1.7:
tmux move-pane [-bdhv] [-l size | -p percentage] [-s src-pane] [-t dst-pane]
(alias: movep)
Implementations
impl<'a> MovePane<'a>
[src]
pub fn new() -> Self
[src]
pub fn left_above(&mut self) -> &mut Self
[src]
[-b]
- cause src-pane to be joined to left of or above dst-pane
pub fn detached(&mut self) -> &mut Self
[src]
[-d]
-
pub fn horizontal(&mut self) -> &mut Self
[src]
[-h]
- full height
pub fn vertical(&mut self) -> &mut Self
[src]
[-v]
- full width
pub fn size(&mut self, size: &'a PaneSize) -> &mut Self
[src]
[-l size]
- specify the size of the new pane in lines/columns
pub fn src_pane<S: Into<Cow<'a, str>>>(&mut self, src_pane: S) -> &mut Self
[src]
[-s src-pane]
- src-pane
pub fn dst_pane<S: Into<Cow<'a, str>>>(&mut self, dst_pane: S) -> &mut Self
[src]
[-t dst-pane]
- dst-pane
pub fn output(&self) -> Result<TmuxOutput, Error>
[src]
Trait Implementations
impl<'a> Clone for MovePane<'a>
[src]
impl<'a> Debug for MovePane<'a>
[src]
impl<'a> Default for MovePane<'a>
[src]
impl<'a> From<&'_ TmuxCommand<'a>> for MovePane<'a>
[src]
fn from(item: &TmuxCommand<'a>) -> Self
[src]
impl<'a> From<TmuxCommand<'a>> for MovePane<'a>
[src]
fn from(item: TmuxCommand<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for MovePane<'a>
impl<'a> Send for MovePane<'a>
impl<'a> Sync for MovePane<'a>
impl<'a> Unpin for MovePane<'a>
impl<'a> UnwindSafe for MovePane<'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>,