Struct tmux_interface::commands::windows_and_panes::list_windows::ListWindows
source · pub struct ListWindows<'a> {
pub all: bool,
pub format: Option<Cow<'a, str>>,
pub target_session: Option<Cow<'a, str>>,
}
Expand description
List windows on the server
§Manual
tmux ^1.6:
list-windows [-a] [-F format] [-t target-session]
(alias: lsw)
tmux ^1.5:
list-windows [-a] [-t target-session]
(alias: lsw)
tmux ^0.8:
list-windows [-t target-session]
(alias: lsw)
Fields§
§all: bool
[-a]
format: Option<Cow<'a, str>>
[-F format]
target_session: Option<Cow<'a, str>>
[-t target-session]
Implementations§
source§impl<'a> ListWindows<'a>
impl<'a> ListWindows<'a>
Trait Implementations§
source§impl<'a> Clone for ListWindows<'a>
impl<'a> Clone for ListWindows<'a>
source§fn clone(&self) -> ListWindows<'a>
fn clone(&self) -> ListWindows<'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 ListWindows<'a>
impl<'a> Debug for ListWindows<'a>
source§impl<'a> Default for ListWindows<'a>
impl<'a> Default for ListWindows<'a>
source§fn default() -> ListWindows<'a>
fn default() -> ListWindows<'a>
Returns the “default value” for a type. Read more
source§impl<'a> From<ListWindows<'a>> for TmuxCommand<'a>
impl<'a> From<ListWindows<'a>> for TmuxCommand<'a>
source§fn from(item: ListWindows<'a>) -> Self
fn from(item: ListWindows<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Hash for ListWindows<'a>
impl<'a> Hash for ListWindows<'a>
source§impl<'a> Ord for ListWindows<'a>
impl<'a> Ord for ListWindows<'a>
source§fn cmp(&self, other: &ListWindows<'a>) -> Ordering
fn cmp(&self, other: &ListWindows<'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 ListWindows<'a>
impl<'a> PartialEq for ListWindows<'a>
source§fn eq(&self, other: &ListWindows<'a>) -> bool
fn eq(&self, other: &ListWindows<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for ListWindows<'a>
impl<'a> PartialOrd for ListWindows<'a>
source§fn partial_cmp(&self, other: &ListWindows<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &ListWindows<'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 ListWindows<'a>
impl<'a> StructuralPartialEq for ListWindows<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ListWindows<'a>
impl<'a> Send for ListWindows<'a>
impl<'a> Sync for ListWindows<'a>
impl<'a> Unpin for ListWindows<'a>
impl<'a> UnwindSafe for ListWindows<'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