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 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 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§impl<'a> PartialOrd for DisplayPanes<'a>
impl<'a> PartialOrd for DisplayPanes<'a>
impl<'a> Eq for DisplayPanes<'a>
impl<'a> StructuralPartialEq for DisplayPanes<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayPanes<'a>
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