pub struct PreviousLayout<'a> {
pub target_window: Option<Cow<'a, str>>,
}
Expand description
Move to the previous layout in the session
§Manual
tmux ^1.3:
previous-layout [-t target-window]
(alias: prevl)
Fields§
§target_window: Option<Cow<'a, str>>
[-t target-window]
Implementations§
Source§impl<'a> PreviousLayout<'a>
impl<'a> PreviousLayout<'a>
pub fn new() -> Self
Sourcepub fn target_window<S: Into<Cow<'a, str>>>(self, target_window: S) -> Self
pub fn target_window<S: Into<Cow<'a, str>>>(self, target_window: S) -> Self
[-t target-window]
pub fn build(self) -> TmuxCommand<'a>
Trait Implementations§
Source§impl<'a> Clone for PreviousLayout<'a>
impl<'a> Clone for PreviousLayout<'a>
Source§fn clone(&self) -> PreviousLayout<'a>
fn clone(&self) -> PreviousLayout<'a>
Returns a duplicate 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 PreviousLayout<'a>
impl<'a> Debug for PreviousLayout<'a>
Source§impl<'a> Default for PreviousLayout<'a>
impl<'a> Default for PreviousLayout<'a>
Source§fn default() -> PreviousLayout<'a>
fn default() -> PreviousLayout<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<PreviousLayout<'a>> for TmuxCommand<'a>
impl<'a> From<PreviousLayout<'a>> for TmuxCommand<'a>
Source§fn from(item: PreviousLayout<'a>) -> Self
fn from(item: PreviousLayout<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for PreviousLayout<'a>
impl<'a> Hash for PreviousLayout<'a>
Source§impl<'a> Ord for PreviousLayout<'a>
impl<'a> Ord for PreviousLayout<'a>
Source§fn cmp(&self, other: &PreviousLayout<'a>) -> Ordering
fn cmp(&self, other: &PreviousLayout<'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 PreviousLayout<'a>
impl<'a> PartialEq for PreviousLayout<'a>
Source§impl<'a> PartialOrd for PreviousLayout<'a>
impl<'a> PartialOrd for PreviousLayout<'a>
impl<'a> Eq for PreviousLayout<'a>
impl<'a> StructuralPartialEq for PreviousLayout<'a>
Auto Trait Implementations§
impl<'a> Freeze for PreviousLayout<'a>
impl<'a> RefUnwindSafe for PreviousLayout<'a>
impl<'a> Send for PreviousLayout<'a>
impl<'a> Sync for PreviousLayout<'a>
impl<'a> Unpin for PreviousLayout<'a>
impl<'a> UnwindSafe for PreviousLayout<'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