Struct tmux_interface::variables::window::window::Window[][src]

pub struct Window {
    pub active: Option<bool>,
    pub activity: Option<Duration>,
    pub activity_flag: Option<bool>,
    pub bell_flag: Option<bool>,
    pub flags: Option<WindowFlag>,
    pub format: Option<bool>,
    pub height: Option<usize>,
    pub id: Option<usize>,
    pub index: Option<usize>,
    pub last_flag: Option<bool>,
    pub layout: Option<Layout>,
    pub linked: Option<bool>,
    pub name: Option<String>,
    pub panes: Option<usize>,
    pub silence_flag: Option<bool>,
    pub stack_index: Option<usize>,
    pub visible_layout: Option<Layout>,
    pub width: Option<usize>,
    pub zoomed_flag: Option<bool>,
}

Fields

active: Option<bool>

window_active - 1 if window active

activity: Option<Duration>

window_activity - Time of window last activity

activity_flag: Option<bool>

window_activity_flag - 1 if window has activity

bell_flag: Option<bool>

window_bell_flag - 1 if window has bell

flags: Option<WindowFlag>

window_flags - #F Window flags

format: Option<bool>

1 if format is for a window

height: Option<usize>

window_height - Height of window

id: Option<usize>

window_id - Unique window ID

index: Option<usize>

window_index - #I Index of window

last_flag: Option<bool>

window_last_flag - 1 if window is the last used

layout: Option<Layout>

window_layout - Window layout description, ignoring zoomed window panes

linked: Option<bool>

window_linked - 1 if window is linked across sessions

name: Option<String>

window_name - #W Name of window

panes: Option<usize>

window_panes - Number of panes in window

silence_flag: Option<bool>

window_silence_flag - 1 if window has silence alert

stack_index: Option<usize>

Index in session most recent stack

visible_layout: Option<Layout>

Window layout description, respecting zoomed window panes

width: Option<usize>

window_width - Width of window

zoomed_flag: Option<bool>

window_zoomed_flag - 1 if window is zoomed

Implementations

impl Window[src]

pub fn new() -> Self[src]

pub fn from_str(s: &str, bitflags: u64) -> Result<Self, Error>[src]

Trait Implementations

impl Clone for Window[src]

impl Debug for Window[src]

impl Default for Window[src]

impl PartialEq<Window> for Window[src]

impl StructuralPartialEq for Window[src]

Auto Trait Implementations

impl RefUnwindSafe for Window

impl Send for Window

impl Sync for Window

impl Unpin for Window

impl UnwindSafe for Window

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.