pub struct RotateWindow<'a> {
pub down: bool,
pub up: bool,
pub keep_zoomed: bool,
pub target_window: Option<Cow<'a, str>>,
}
Expand description
Rotate the positions of the panes within a window
§Manual
tmux ^3.1:
rotate-window [-DUZ] [-t target-window]
(alias: rotatew)
tmux ^0.8:
rotate-window [-DU] [-t target-window]
(alias: rotatew)
Fields§
§down: bool
[-D]
up: bool
[-U]
keep_zoomed: bool
[-Z]
target_window: Option<Cow<'a, str>>
[-t target-window]
Implementations§
source§impl<'a> RotateWindow<'a>
impl<'a> RotateWindow<'a>
Trait Implementations§
source§impl<'a> Clone for RotateWindow<'a>
impl<'a> Clone for RotateWindow<'a>
source§fn clone(&self) -> RotateWindow<'a>
fn clone(&self) -> RotateWindow<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for RotateWindow<'a>
impl<'a> Debug for RotateWindow<'a>
source§impl<'a> Default for RotateWindow<'a>
impl<'a> Default for RotateWindow<'a>
source§fn default() -> RotateWindow<'a>
fn default() -> RotateWindow<'a>
Returns the “default value” for a type. Read more
source§impl<'a> From<RotateWindow<'a>> for TmuxCommand<'a>
impl<'a> From<RotateWindow<'a>> for TmuxCommand<'a>
source§fn from(item: RotateWindow<'a>) -> Self
fn from(item: RotateWindow<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Hash for RotateWindow<'a>
impl<'a> Hash for RotateWindow<'a>
source§impl<'a> Ord for RotateWindow<'a>
impl<'a> Ord for RotateWindow<'a>
source§fn cmp(&self, other: &RotateWindow<'a>) -> Ordering
fn cmp(&self, other: &RotateWindow<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for RotateWindow<'a>
impl<'a> PartialEq for RotateWindow<'a>
source§fn eq(&self, other: &RotateWindow<'a>) -> bool
fn eq(&self, other: &RotateWindow<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for RotateWindow<'a>
impl<'a> PartialOrd for RotateWindow<'a>
source§fn partial_cmp(&self, other: &RotateWindow<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &RotateWindow<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Eq for RotateWindow<'a>
impl<'a> StructuralPartialEq for RotateWindow<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RotateWindow<'a>
impl<'a> Send for RotateWindow<'a>
impl<'a> Sync for RotateWindow<'a>
impl<'a> Unpin for RotateWindow<'a>
impl<'a> UnwindSafe for RotateWindow<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more