Struct tmux_interface::commands::windows_and_panes::kill_pane::KillPane
source · pub struct KillPane<'a> {
pub all: bool,
pub target_pane: Option<Cow<'a, str>>,
}
Expand description
Destroy the given pane
§Manual
tmux ^1.1:
kill-pane [-a] [-t target-pane]
(alias: killp)
tmux ^1.0:
kill-pane [-t target-pane]
(alias: killp)
tmux ^0.8:
kill-pane [-p pane-index] [-t target-window]
(alias: killp)
Fields§
§all: bool
[-a]
target_pane: Option<Cow<'a, str>>
[-t target-pane]
Implementations§
Trait Implementations§
source§impl<'a> From<KillPane<'a>> for TmuxCommand<'a>
impl<'a> From<KillPane<'a>> for TmuxCommand<'a>
source§impl<'a> Ord for KillPane<'a>
impl<'a> Ord for KillPane<'a>
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 KillPane<'a>
impl<'a> PartialEq for KillPane<'a>
source§impl<'a> PartialOrd for KillPane<'a>
impl<'a> PartialOrd for KillPane<'a>
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 KillPane<'a>
impl<'a> StructuralPartialEq for KillPane<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for KillPane<'a>
impl<'a> Send for KillPane<'a>
impl<'a> Sync for KillPane<'a>
impl<'a> Unpin for KillPane<'a>
impl<'a> UnwindSafe for KillPane<'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