pub struct DisplayPanes<'a> {
pub not_block: bool,
pub ignore_keys: bool,
pub duration: Option<Cow<'a, str>>,
pub target_client: Option<Cow<'a, str>>,
pub template: Option<Cow<'a, str>>,
}
Expand description
Display a visible indicator of each pane shown by target-client
§Manual
tmux ^3.2:
display-panes [-bN] [-d duration] [-t target-client] [template]
(alias: displayp)
tmux ^2.9:
display-panes [-b] [-d duration] [-t target-client] [template]
(alias: displayp)
tmux ^2.6:
display-panes [-d duration] [-t target-client] [template]
(alias: displayp)
tmux ^2.3:
display-panes [-t target-client] [template]
(alias: displayp)
tmux ^1.0:
display-panes [-t target-client]
(alias: displayp)
Fields§
§not_block: bool
[-b]
ignore_keys: bool
[-N]
duration: Option<Cow<'a, str>>
[-d duration]
target_client: Option<Cow<'a, str>>
[-t target-client]
template: Option<Cow<'a, str>>
[template]
Implementations§
source§impl<'a> DisplayPanes<'a>
impl<'a> DisplayPanes<'a>
pub fn new() -> Self
sourcepub fn ignore_keys(self) -> Self
pub fn ignore_keys(self) -> Self
[-N]
sourcepub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
pub fn target_client<S: Into<Cow<'a, str>>>(self, target_client: S) -> Self
[-d target-client]
pub fn build(self) -> TmuxCommand<'a>
Trait Implementations§
source§impl<'a> Clone for DisplayPanes<'a>
impl<'a> Clone for DisplayPanes<'a>
source§fn clone(&self) -> DisplayPanes<'a>
fn clone(&self) -> DisplayPanes<'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 DisplayPanes<'a>
impl<'a> Debug for DisplayPanes<'a>
source§impl<'a> Default for DisplayPanes<'a>
impl<'a> Default for DisplayPanes<'a>
source§fn default() -> DisplayPanes<'a>
fn default() -> DisplayPanes<'a>
Returns the “default value” for a type. Read more
source§impl<'a> From<DisplayPanes<'a>> for TmuxCommand<'a>
impl<'a> From<DisplayPanes<'a>> for TmuxCommand<'a>
source§fn from(item: DisplayPanes<'a>) -> Self
fn from(item: DisplayPanes<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> Hash for DisplayPanes<'a>
impl<'a> Hash for DisplayPanes<'a>
source§impl<'a> Ord for DisplayPanes<'a>
impl<'a> Ord for DisplayPanes<'a>
source§fn cmp(&self, other: &DisplayPanes<'a>) -> Ordering
fn cmp(&self, other: &DisplayPanes<'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 DisplayPanes<'a>
impl<'a> PartialEq for DisplayPanes<'a>
source§fn eq(&self, other: &DisplayPanes<'a>) -> bool
fn eq(&self, other: &DisplayPanes<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for DisplayPanes<'a>
impl<'a> PartialOrd for DisplayPanes<'a>
source§fn partial_cmp(&self, other: &DisplayPanes<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayPanes<'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 DisplayPanes<'a>
impl<'a> StructuralPartialEq for DisplayPanes<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DisplayPanes<'a>
impl<'a> Send for DisplayPanes<'a>
impl<'a> Sync for DisplayPanes<'a>
impl<'a> Unpin for DisplayPanes<'a>
impl<'a> UnwindSafe for DisplayPanes<'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