Struct Misc

Source
pub struct Misc {
Show 23 fields pub alternate_on: Option<usize>, pub alternate_saved_x: Option<usize>, pub alternate_saved_y: Option<usize>, pub command_hooked: Option<String>, pub command: Option<String>, pub command_list_name: Option<String>, pub command_list_alias: Option<String>, pub command_list_usage: Option<String>, pub host: Option<String>, pub host_short: Option<String>, pub insert_flag: Option<String>, pub keypad_cursor_flag: Option<String>, pub keypad_flag: Option<String>, pub line: Option<usize>, pub origin_flag: Option<String>, pub saved_cursor_x: Option<usize>, pub saved_cursor_y: Option<usize>, pub scroll_region_lower: Option<usize>, pub scroll_region_upper: Option<usize>, pub scroll_position: Option<usize>, pub wrap_flag: Option<bool>, pub version: Option<String>, pub rectangle_toggle: Option<bool>,
}

Fields§

§alternate_on: Option<usize>

alternate_on - if pane is in alternate screen

§alternate_saved_x: Option<usize>

alternate_saved_x - Saved cursor X in alternate screen

§alternate_saved_y: Option<usize>

alternate_saved_y - Saved cursor Y in alternate screen

§command_hooked: Option<String>

command_hooked - Name of command hooked, if any

§command: Option<String>

command - Name of command in use, if any

§command_list_name: Option<String>

command_list_name - Command name if listing commands

§command_list_alias: Option<String>

command_list_alias - Command alias if listing commands

§command_list_usage: Option<String>

command_list_usage - Command usage if listing commands

§host: Option<String>

host - Hostname of local host

§host_short: Option<String>

host_short - #h Hostname of local host (no domain name)

§insert_flag: Option<String>

insert_flag - Pane insert flag

§keypad_cursor_flag: Option<String>

keypad_cursor_flag - Pane keypad cursor flag

§keypad_flag: Option<String>

keypad_flag - Pane keypad flag

§line: Option<usize>

line - Line number in the list

§origin_flag: Option<String>

origin_flag - Pane origin flag

§saved_cursor_x: Option<usize>

saved_cursor_x - Saved cursor X in pane

§saved_cursor_y: Option<usize>

saved_cursor_y - Saved cursor Y in pane

§scroll_region_lower: Option<usize>

scroll_region_lower - Bottom of scroll region in pane

§scroll_region_upper: Option<usize>

scroll_region_upper - Top of scroll region in pane

§scroll_position: Option<usize>

scroll_position - Scroll position in copy mode

§wrap_flag: Option<bool>

wrap_flag - Pane wrap flag

§version: Option<String>

version - Server version

§rectangle_toggle: Option<bool>

rectangle_toggle - 1 if rectangle selection is activated

Trait Implementations§

Source§

impl Clone for Misc

Source§

fn clone(&self) -> Misc

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 Misc

Source§

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

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

impl Default for Misc

Source§

fn default() -> Misc

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

impl PartialEq for Misc

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Misc

Auto Trait Implementations§

§

impl Freeze for Misc

§

impl RefUnwindSafe for Misc

§

impl Send for Misc

§

impl Sync for Misc

§

impl Unpin for Misc

§

impl UnwindSafe for Misc

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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,

Source§

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>,

Source§

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>,

Source§

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.