pub struct WindowOptions<'a> {Show 31 fields
pub aggressive_resize: Option<Switch>,
pub automatic_rename: Option<Switch>,
pub automatic_rename_format: Option<Cow<'a, str>>,
pub clock_mode_colour: Option<Cow<'a, str>>,
pub clock_mode_style: Option<ClockModeStyle>,
pub main_pane_height: Option<usize>,
pub main_pane_width: Option<usize>,
pub mode_keys: Option<StatusKeys>,
pub mode_style: Option<Cow<'a, str>>,
pub monitor_activity: Option<Switch>,
pub monitor_bell: Option<Switch>,
pub monitor_silence: Option<usize>,
pub other_pane_height: Option<usize>,
pub other_pane_width: Option<usize>,
pub pane_active_border_style: Option<Cow<'a, str>>,
pub pane_base_index: Option<usize>,
pub pane_border_format: Option<Cow<'a, str>>,
pub pane_border_status: Option<PaneBorderStatus>,
pub pane_border_style: Option<Cow<'a, str>>,
pub window_status_activity_style: Option<Cow<'a, str>>,
pub window_status_bell_style: Option<Cow<'a, str>>,
pub window_status_current_format: Option<Cow<'a, str>>,
pub window_status_current_style: Option<Cow<'a, str>>,
pub window_status_format: Option<Cow<'a, str>>,
pub window_status_last_style: Option<Cow<'a, str>>,
pub window_status_separator: Option<Cow<'a, str>>,
pub window_status_style: Option<Cow<'a, str>>,
pub window_size: Option<WindowSize>,
pub wrap_search: Option<Switch>,
pub xterm_keys: Option<Switch>,
pub user_options: HashMap<String, Option<Cow<'a, str>>>,
}Fields§
§aggressive_resize: Option<Switch>tmux ^1.0:
aggressive-resize [on | off]automatic_rename: Option<Switch>tmux ^1.0:
automatic-rename [on | off]automatic_rename_format: Option<Cow<'a, str>>tmux ^1.9:
automatic-rename-format formatclock_mode_colour: Option<Cow<'a, str>>tmux ^1.0:
clock-mode-colour colourclock_mode_style: Option<ClockModeStyle>tmux ^1.0:
clock-mode-style [12 | 24]main_pane_height: Option<usize>tmux ^1.0:
main-pane-height heightmain_pane_width: Option<usize>tmux ^1.0:
main-pane-width widthmode_keys: Option<StatusKeys>tmux ^1.0:
mode-keys [vi | emacs]mode_style: Option<Cow<'a, str>>tmux ^1.9:
mode-style stylemonitor_activity: Option<Switch>tmux ^1.0:
monitor-activity [on | off]monitor_bell: Option<Switch>tmux ^2.6:
monitor-bell [on | off]monitor_silence: Option<usize>tmux ^1.4:
monitor-silence [interval]other_pane_height: Option<usize>tmux ^1.4:
other-pane-height heightother_pane_width: Option<usize>tmux ^1.4:
other-pane-width widthpane_active_border_style: Option<Cow<'a, str>>tmux ^1.9:
pane-active-border-style stylepane_base_index: Option<usize>tmux ^1.6:
pane-base-index indexpane_border_format: Option<Cow<'a, str>>tmux ^2.3:
pane-border-format formatpane_border_status: Option<PaneBorderStatus>tmux ^2.3:
pane-border-status [off | top | bottom]pane_border_style: Option<Cow<'a, str>>tmux ^2.0:
pane-border-style stylewindow_status_activity_style: Option<Cow<'a, str>>tmux ^1.9:
window-status-activity-style stylewindow_status_bell_style: Option<Cow<'a, str>>tmux ^1.9:
window-status-bell-style stylewindow_status_current_format: Option<Cow<'a, str>>tmux ^1.2:
window-status-current-format stringwindow_status_current_style: Option<Cow<'a, str>>tmux ^1.9:
window-status-current-style stylewindow_status_format: Option<Cow<'a, str>>tmux ^1.2:
window-status-format stringwindow_status_last_style: Option<Cow<'a, str>>tmux ^1.9:
window-status-last-style stylewindow_status_separator: Option<Cow<'a, str>>tmux ^1.7:
window-status-separator stringwindow_status_style: Option<Cow<'a, str>>tmux ^1.9:
window-status-style stylewindow_size: Option<WindowSize>tmux ^2.9:
window-size largest | smallest | manual | latestwrap_search: Option<Switch>tmux ^1.7:
wrap-search [on | off]xterm_keys: Option<Switch>tmux ^1.0:
xterm-keys [on | off]user_options: HashMap<String, Option<Cow<'a, str>>>tmux ^1.0:
@user-option-name valueImplementations§
Source§impl<'a> WindowOptions<'a>
impl<'a> WindowOptions<'a>
Source§impl<'a> WindowOptions<'a>
impl<'a> WindowOptions<'a>
pub fn aggressive_resize(self, aggressive_resize: Option<Switch>) -> Self
pub fn automatic_rename(self, automatic_rename: Option<Switch>) -> Self
pub fn automatic_rename_format<S: Into<Cow<'a, str>>>( self, automatic_rename_format: Option<S>, ) -> Self
pub fn clock_mode_colour<S: Into<Cow<'a, str>>>( self, clock_mode_colour: Option<S>, ) -> Self
pub fn clock_mode_style(self, clock_mode_style: Option<ClockModeStyle>) -> Self
pub fn main_pane_height(self, main_pane_height: Option<usize>) -> Self
pub fn main_pane_width(self, main_pane_width: Option<usize>) -> Self
pub fn mode_keys(self, mode_keys: Option<StatusKeys>) -> Self
pub fn mode_style<S: Into<Cow<'a, str>>>(self, mode_style: Option<S>) -> Self
pub fn monitor_activity(self, monitor_activity: Option<Switch>) -> Self
pub fn monitor_bell(self, monitor_bell: Option<Switch>) -> Self
pub fn monitor_silence(self, monitor_silence: Option<usize>) -> Self
pub fn other_pane_height(self, other_pane_height: Option<usize>) -> Self
pub fn other_pane_width(self, other_pane_width: Option<usize>) -> Self
pub fn pane_active_border_style<S: Into<Cow<'a, str>>>( self, pane_active_border_style: Option<S>, ) -> Self
pub fn pane_base_index(self, pane_base_index: Option<usize>) -> Self
pub fn pane_border_format<S: Into<Cow<'a, str>>>( self, pane_border_format: Option<S>, ) -> Self
pub fn pane_border_status( self, pane_border_status: Option<PaneBorderStatus>, ) -> Self
pub fn pane_border_style<S: Into<Cow<'a, str>>>( self, pane_border_style: Option<S>, ) -> Self
pub fn window_status_activity_style<S: Into<Cow<'a, str>>>( self, window_status_activity_style: Option<S>, ) -> Self
pub fn window_status_bell_style<S: Into<Cow<'a, str>>>( self, window_status_bell_style: Option<S>, ) -> Self
pub fn window_status_current_format<S: Into<Cow<'a, str>>>( self, window_status_current_format: Option<S>, ) -> Self
pub fn window_status_current_style<S: Into<Cow<'a, str>>>( self, window_status_current_style: Option<S>, ) -> Self
pub fn window_status_format<S: Into<Cow<'a, str>>>( self, window_status_format: Option<S>, ) -> Self
pub fn window_status_last_style<S: Into<Cow<'a, str>>>( self, window_status_last_style: Option<S>, ) -> Self
pub fn window_status_separator<S: Into<Cow<'a, str>>>( self, window_status_separator: Option<S>, ) -> Self
pub fn window_status_style<S: Into<Cow<'a, str>>>( self, window_status_style: Option<S>, ) -> Self
pub fn window_size(self, window_size: Option<WindowSize>) -> Self
pub fn wrap_search(self, wrap_search: Option<Switch>) -> Self
pub fn xterm_keys(self, xterm_keys: Option<Switch>) -> Self
Trait Implementations§
Source§impl<'a> Clone for WindowOptions<'a>
impl<'a> Clone for WindowOptions<'a>
Source§fn clone(&self) -> WindowOptions<'a>
fn clone(&self) -> WindowOptions<'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 WindowOptions<'a>
impl<'a> Debug for WindowOptions<'a>
Source§impl<'a> Default for WindowOptions<'a>
impl<'a> Default for WindowOptions<'a>
Source§fn default() -> WindowOptions<'a>
fn default() -> WindowOptions<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Display for WindowOptions<'a>
impl<'a> Display for WindowOptions<'a>
Source§impl<'a> FromStr for WindowOptions<'a>
impl<'a> FromStr for WindowOptions<'a>
Source§impl<'a> PartialEq for WindowOptions<'a>
impl<'a> PartialEq for WindowOptions<'a>
impl<'a> StructuralPartialEq for WindowOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for WindowOptions<'a>
impl<'a> RefUnwindSafe for WindowOptions<'a>
impl<'a> Send for WindowOptions<'a>
impl<'a> Sync for WindowOptions<'a>
impl<'a> Unpin for WindowOptions<'a>
impl<'a> UnsafeUnpin for WindowOptions<'a>
impl<'a> UnwindSafe for WindowOptions<'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