pub struct Pane {
Show 33 fields pub active: Option<bool>, pub at_bottom: Option<bool>, pub at_left: Option<bool>, pub at_right: Option<bool>, pub at_top: Option<bool>, pub bottom: Option<usize>, pub current_command: Option<String>, pub current_path: Option<String>, pub dead: Option<bool>, pub dead_status: Option<usize>, pub format: Option<bool>, pub height: Option<usize>, pub id: Option<usize>, pub in_mode: Option<bool>, pub index: Option<usize>, pub input_off: Option<bool>, pub left: Option<usize>, pub marked: Option<bool>, pub marked_set: Option<bool>, pub mode: Option<usize>, pub path: Option<String>, pub pid: Option<usize>, pub pipe: Option<bool>, pub right: Option<usize>, pub search_string: Option<usize>, pub start_command: Option<usize>, pub synchronized: Option<bool>, pub tabs: Option<PaneTabs>, pub title: Option<String>, pub top: Option<usize>, pub tty: Option<String>, pub unseen_changes: Option<bool>, pub width: Option<usize>,
}

Fields§

§active: Option<bool>

pane_active - 1 if active pane

§at_bottom: Option<bool>

1 if pane is at the bottom of window

§at_left: Option<bool>

1 if pane is at the left of window

§at_right: Option<bool>

1 if pane is at the right of window

§at_top: Option<bool>

1 if pane is at the top of window

§bottom: Option<usize>

pane_bottom - Bottom of pane

§current_command: Option<String>

pane_current_command - Current command if available

§current_path: Option<String>

pane_current_path - Current path if available

§dead: Option<bool>

pane_dead - 1 if pane is dead

§dead_status: Option<usize>

pane_dead_status - Exit status of process in dead pane

§format: Option<bool>

1 if format is for a pane

§height: Option<usize>

pane_height - Height of pane

§id: Option<usize>

pane_id - #D Unique pane ID

§in_mode: Option<bool>

pane_in_mode - 1 if pane is in a mode

§index: Option<usize>

pane_index - #P Index of pane

§input_off: Option<bool>

pane_input_off - 1 if input to pane is disabled

§left: Option<usize>

pane_left - Left of pane

§marked: Option<bool>

1 if this is the marked pane

§marked_set: Option<bool>

1 if a marked pane is set

§mode: Option<usize>

Name of pane mode, if any

§path: Option<String>

pane_path - #T Path of pane (can be set by application)

§pid: Option<usize>

pane_pid - PID of first process in pane

§pipe: Option<bool>

pane_pipe - 1 if pane is being piped

§right: Option<usize>

pane_right - Right of pane

§search_string: Option<usize>

Last search string in copy mode

§start_command: Option<usize>

pane_start_command - Command pane started with

§synchronized: Option<bool>

pane_synchronized - 1 if pane is synchronized

§tabs: Option<PaneTabs>

pane_tabs - Pane tab positions

§title: Option<String>

pane_title - #T Title of pane (can be set by application)

§top: Option<usize>

pane_top - Top of pane

§tty: Option<String>

pane_tty - Pseudo terminal of pane

§unseen_changes: Option<bool>

pane_unseen_changes - 1 if there were changes in pane while in mode

§width: Option<usize>

pane_width - Width of pane

Implementations§

source§

impl Pane

source

pub fn new() -> Self

Trait Implementations§

source§

impl Clone for Pane

source§

fn clone(&self) -> Pane

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Pane

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Pane

source§

fn default() -> Pane

Returns the “default value” for a type. Read more
source§

impl FromStr for Pane

§

type Err = Error

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Error>

Parses a string s to return a value of this type. Read more
source§

impl PartialEq for Pane

source§

fn eq(&self, other: &Pane) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Pane

Auto Trait Implementations§

§

impl RefUnwindSafe for Pane

§

impl Send for Pane

§

impl Sync for Pane

§

impl Unpin for Pane

§

impl UnwindSafe for Pane

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.