Trait tmux_interface::options::session::builder::set_session_options_tr::SetSessionOptionsTr
source · pub trait SetSessionOptionsTr<'a> {
type Setter: SetSessionOptionTr;
Show 50 methods
// Required methods
fn new() -> Self;
fn push(&mut self, option: TmuxCommand<'a>);
fn push_cmds(&mut self, options: TmuxCommands<'a>);
fn build(self) -> TmuxCommands<'a>;
// Provided methods
fn activity_action<T>(
self,
target: Option<T>,
action: Option<Action>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn assume_paste_time<T>(
self,
target: Option<T>,
milliseconds: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn base_index<T>(self, target: Option<T>, index: Option<usize>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn bell_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn default_command<T, S>(
self,
target: Option<T>,
shell_command: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn default_shell<T, S>(self, target: Option<T>, path: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn default_size<T>(
self,
target: Option<T>,
size: Option<(usize, usize)>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn destroy_unattached<T>(
self,
target: Option<T>,
destroy_unattached: Option<DestroyUnattached>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn detach_on_destroy<T>(
self,
target: Option<T>,
detach_on_destroy: Option<DetachOnDestroy>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn display_panes_active_colour<T, S>(
self,
target: Option<T>,
colour: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn display_panes_colour<T, S>(
self,
target: Option<T>,
colour: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn display_panes_time<T>(
self,
target: Option<T>,
time: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn display_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn history_limit<T>(self, target: Option<T>, lines: Option<usize>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn key_table<T, S>(self, target: Option<T>, key_table: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn lock_after_time<T>(
self,
target: Option<T>,
number: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn lock_command<T, S>(
self,
target: Option<T>,
shell_command: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn message_command_style<T, S>(
self,
target: Option<T>,
style: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn message_line<T, S>(
self,
target: Option<T>,
message_line: Option<MessageLine>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn message_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn mouse<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn prefix<T, S>(self, target: Option<T>, key: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn prefix2<T, S>(self, target: Option<T>, key: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn renumber_windows<T>(
self,
target: Option<T>,
switch: Option<Switch>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn repeat_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn set_titles<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn set_titles_string<T, S>(
self,
target: Option<T>,
string: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn silence_action<T>(
self,
target: Option<T>,
action: Option<Action>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status<T>(self, target: Option<T>, status: Option<Status>) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_format<T, I, S>(
self,
target: Option<T>,
format: Option<I>
) -> Self
where T: Into<Cow<'a, str>> + Clone,
I: IntoIterator<Item = S>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_interval<T>(
self,
target: Option<T>,
interval: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_justify<T>(
self,
target: Option<T>,
status_justify: Option<StatusJustify>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_keys<T>(
self,
target: Option<T>,
status_keys: Option<StatusKeys>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_left<T, S>(self, target: Option<T>, string: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_left_length<T>(
self,
target: Option<T>,
length: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_left_style<T, S>(
self,
target: Option<T>,
style: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_position<T>(
self,
target: Option<T>,
status_position: Option<StatusPosition>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_right<T, S>(self, target: Option<T>, string: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_right_length<T>(
self,
target: Option<T>,
length: Option<usize>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_right_style<T, S>(
self,
target: Option<T>,
style: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn status_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
where T: Into<Cow<'a, str>>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn update_environment<T, I, S>(
self,
target: Option<T>,
variable: Option<I>
) -> Self
where T: Into<Cow<'a, str>> + Clone,
I: IntoIterator<Item = S>,
S: Into<Cow<'a, str>>,
Self: Sized { ... }
fn visual_activity<T>(
self,
target: Option<T>,
activity: Option<Activity>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn visual_bell<T>(
self,
target: Option<T>,
activity: Option<Activity>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn visual_silence<T>(
self,
target: Option<T>,
activity: Option<Activity>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
fn word_separators<T, S: Into<Cow<'a, str>>>(
self,
target: Option<T>,
string: Option<S>
) -> Self
where T: Into<Cow<'a, str>>,
Self: Sized { ... }
}
Required Associated Types§
Required Methods§
fn new() -> Self
fn push(&mut self, option: TmuxCommand<'a>)
fn push_cmds(&mut self, options: TmuxCommands<'a>)
fn build(self) -> TmuxCommands<'a>
Provided Methods§
sourcefn activity_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
fn activity_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
sourcefn assume_paste_time<T>(
self,
target: Option<T>,
milliseconds: Option<usize>
) -> Self
fn assume_paste_time<T>( self, target: Option<T>, milliseconds: Option<usize> ) -> Self
sourcefn base_index<T>(self, target: Option<T>, index: Option<usize>) -> Self
fn base_index<T>(self, target: Option<T>, index: Option<usize>) -> Self
sourcefn bell_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
fn bell_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
§Manual
tmux:
bell-action [any | none | current | other]
tmux ^1.0:
bell-action [any | none | other]
sourcefn default_command<T, S>(
self,
target: Option<T>,
shell_command: Option<S>
) -> Self
fn default_command<T, S>( self, target: Option<T>, shell_command: Option<S> ) -> Self
sourcefn default_shell<T, S>(self, target: Option<T>, path: Option<S>) -> Self
fn default_shell<T, S>(self, target: Option<T>, path: Option<S>) -> Self
sourcefn destroy_unattached<T>(
self,
target: Option<T>,
destroy_unattached: Option<DestroyUnattached>
) -> Self
fn destroy_unattached<T>( self, target: Option<T>, destroy_unattached: Option<DestroyUnattached> ) -> Self
§Manual
tmux ^3.4:
destroy-unattached [on | off | keep-last | keep-group]
tmux ^1.5:
destroy-unattached [on | off]
sourcefn detach_on_destroy<T>(
self,
target: Option<T>,
detach_on_destroy: Option<DetachOnDestroy>
) -> Self
fn detach_on_destroy<T>( self, target: Option<T>, detach_on_destroy: Option<DetachOnDestroy> ) -> Self
§Manual
tmux ^3.2:
detach-on-destroy [on | off | no-detached]
tmux ^1.4:
detach-on-destroy [on | off]
sourcefn display_panes_active_colour<T, S>(
self,
target: Option<T>,
colour: Option<S>
) -> Self
fn display_panes_active_colour<T, S>( self, target: Option<T>, colour: Option<S> ) -> Self
sourcefn display_panes_colour<T, S>(
self,
target: Option<T>,
colour: Option<S>
) -> Self
fn display_panes_colour<T, S>( self, target: Option<T>, colour: Option<S> ) -> Self
sourcefn display_panes_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
fn display_panes_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
sourcefn display_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
fn display_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
sourcefn history_limit<T>(self, target: Option<T>, lines: Option<usize>) -> Self
fn history_limit<T>(self, target: Option<T>, lines: Option<usize>) -> Self
sourcefn lock_after_time<T>(self, target: Option<T>, number: Option<usize>) -> Self
fn lock_after_time<T>(self, target: Option<T>, number: Option<usize>) -> Self
sourcefn lock_command<T, S>(self, target: Option<T>, shell_command: Option<S>) -> Self
fn lock_command<T, S>(self, target: Option<T>, shell_command: Option<S>) -> Self
sourcefn message_command_style<T, S>(
self,
target: Option<T>,
style: Option<S>
) -> Self
fn message_command_style<T, S>( self, target: Option<T>, style: Option<S> ) -> Self
sourcefn message_line<T, S>(
self,
target: Option<T>,
message_line: Option<MessageLine>
) -> Self
fn message_line<T, S>( self, target: Option<T>, message_line: Option<MessageLine> ) -> Self
sourcefn message_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
fn message_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
sourcefn renumber_windows<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
fn renumber_windows<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
sourcefn repeat_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
fn repeat_time<T>(self, target: Option<T>, time: Option<usize>) -> Self
sourcefn set_titles<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
fn set_titles<T>(self, target: Option<T>, switch: Option<Switch>) -> Self
sourcefn set_titles_string<T, S>(self, target: Option<T>, string: Option<S>) -> Self
fn set_titles_string<T, S>(self, target: Option<T>, string: Option<S>) -> Self
sourcefn silence_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
fn silence_action<T>(self, target: Option<T>, action: Option<Action>) -> Self
sourcefn status_format<T, I, S>(self, target: Option<T>, format: Option<I>) -> Self
fn status_format<T, I, S>(self, target: Option<T>, format: Option<I>) -> Self
sourcefn status_interval<T>(self, target: Option<T>, interval: Option<usize>) -> Self
fn status_interval<T>(self, target: Option<T>, interval: Option<usize>) -> Self
sourcefn status_justify<T>(
self,
target: Option<T>,
status_justify: Option<StatusJustify>
) -> Self
fn status_justify<T>( self, target: Option<T>, status_justify: Option<StatusJustify> ) -> Self
sourcefn status_keys<T>(
self,
target: Option<T>,
status_keys: Option<StatusKeys>
) -> Self
fn status_keys<T>( self, target: Option<T>, status_keys: Option<StatusKeys> ) -> Self
sourcefn status_left<T, S>(self, target: Option<T>, string: Option<S>) -> Self
fn status_left<T, S>(self, target: Option<T>, string: Option<S>) -> Self
sourcefn status_left_length<T>(self, target: Option<T>, length: Option<usize>) -> Self
fn status_left_length<T>(self, target: Option<T>, length: Option<usize>) -> Self
sourcefn status_left_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
fn status_left_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
sourcefn status_position<T>(
self,
target: Option<T>,
status_position: Option<StatusPosition>
) -> Self
fn status_position<T>( self, target: Option<T>, status_position: Option<StatusPosition> ) -> Self
sourcefn status_right<T, S>(self, target: Option<T>, string: Option<S>) -> Self
fn status_right<T, S>(self, target: Option<T>, string: Option<S>) -> Self
sourcefn status_right_length<T>(
self,
target: Option<T>,
length: Option<usize>
) -> Self
fn status_right_length<T>( self, target: Option<T>, length: Option<usize> ) -> Self
sourcefn status_right_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
fn status_right_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
sourcefn status_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
fn status_style<T, S>(self, target: Option<T>, style: Option<S>) -> Self
sourcefn update_environment<T, I, S>(
self,
target: Option<T>,
variable: Option<I>
) -> Self
fn update_environment<T, I, S>( self, target: Option<T>, variable: Option<I> ) -> Self
sourcefn visual_activity<T>(
self,
target: Option<T>,
activity: Option<Activity>
) -> Self
fn visual_activity<T>( self, target: Option<T>, activity: Option<Activity> ) -> Self
sourcefn visual_bell<T>(self, target: Option<T>, activity: Option<Activity>) -> Self
fn visual_bell<T>(self, target: Option<T>, activity: Option<Activity>) -> Self
sourcefn visual_silence<T>(
self,
target: Option<T>,
activity: Option<Activity>
) -> Self
fn visual_silence<T>( self, target: Option<T>, activity: Option<Activity> ) -> Self
Object Safety§
This trait is not object safe.