Struct SetServerOptions

Source
pub struct SetServerOptions<'a> {
    pub options: TmuxCommands<'a>,
}

Fields§

§options: TmuxCommands<'a>

Trait Implementations§

Source§

impl<'a> Debug for SetServerOptions<'a>

Source§

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

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

impl<'a> SetServerOptionsTr<'a> for SetServerOptions<'a>

Source§

type Setter = SetServerOption

Source§

fn new() -> Self

Source§

fn push(&mut self, option: TmuxCommand<'a>)

Source§

fn push_cmds(&mut self, options: TmuxCommands<'a>)

Source§

fn build(self) -> TmuxCommands<'a>

Source§

fn backspace<S: Into<Cow<'a, str>>>(self, backspace: Option<S>) -> Self
where Self: Sized,

Manual Read more
Source§

fn buffer_limit(self, buffer_limit: Option<usize>) -> Self
where Self: Sized,

Manual Read more
Source§

fn command_alias<S>(self, command_alias: Option<Vec<S>>) -> Self
where Self: Sized, S: Into<Cow<'a, str>>,

Manual Read more
Source§

fn copy_command<S: Into<Cow<'a, str>>>(self, copy_command: Option<S>) -> Self
where Self: Sized,

Manual Read more
Source§

fn default_terminal<S: Into<Cow<'a, str>>>( self, default_terminal: Option<S>, ) -> Self
where Self: Sized,

Manual Read more
Source§

fn escape_time(self, escape_time: Option<usize>) -> Self
where Self: Sized,

Manual Read more
Source§

fn editor<S: Into<Cow<'a, str>>>(self, editor: Option<S>) -> Self
where Self: Sized,

Manual Read more
Source§

fn exit_empty(self, exit_empty: Option<Switch>) -> Self
where Self: Sized,

Manual Read more
Source§

fn exit_unattached(self, exit_unattached: Option<Switch>) -> Self
where Self: Sized,

Manual Read more
Source§

fn extended_keys(self, extended_keys: Option<Switch>) -> Self
where Self: Sized,

Manual Read more
Source§

fn focus_events(self, focus_events: Option<Switch>) -> Self
where Self: Sized,

Manual Read more
Source§

fn history_file<S: Into<Cow<'a, str>>>(self, history_file: Option<S>) -> Self
where Self: Sized,

Manual Read more
Source§

fn message_limit(self, message_limit: Option<usize>) -> Self
where Self: Sized,

Manual Read more
Source§

fn prompt_history_limit(self, prompt_history_limit: Option<usize>) -> Self
where Self: Sized,

Manual Read more
Source§

fn set_clipboard(self, set_clipboard: Option<SetClipboard>) -> Self
where Self: Sized,

Manual Read more
Source§

fn terminal_features<S, I>(self, terminal_features: Option<I>) -> Self
where I: IntoIterator<Item = S>, S: Into<Cow<'a, str>>, Self: Sized,

Manual Read more
Source§

fn terminal_overrides<S>(self, terminal_overrides: Option<Vec<S>>) -> Self
where Self: Sized, S: Into<Cow<'a, str>>,

Manual Read more
Source§

fn user_keys<S>(self, user_keys: Option<Vec<S>>) -> Self
where S: Into<Cow<'a, str>>, Self: Sized,

Manual Read more
Source§

impl<'a> SetUserOptions<'a> for SetServerOptions<'a>

Source§

type Setter = SetServerOption

Source§

fn push(&mut self, option: TmuxCommand<'a>)

Source§

fn user_option<S, T>(self, name: S, value: Option<T>) -> Self
where Self: Sized, S: Into<Cow<'a, str>>, T: Into<Cow<'a, str>>,

Source§

fn user_option_ext<U, S, T>( self, target: Option<U>, name: S, value: Option<T>, ) -> Self
where Self: Sized, U: Into<Cow<'a, str>>, S: Into<Cow<'a, str>>, T: Into<Cow<'a, str>>,

Manual Read more

Auto Trait Implementations§

§

impl<'a> Freeze for SetServerOptions<'a>

§

impl<'a> RefUnwindSafe for SetServerOptions<'a>

§

impl<'a> Send for SetServerOptions<'a>

§

impl<'a> Sync for SetServerOptions<'a>

§

impl<'a> Unpin for SetServerOptions<'a>

§

impl<'a> UnwindSafe for SetServerOptions<'a>

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