Trait SetUserOption

Source
pub trait SetUserOption: SetOptionTr {
    // Provided methods
    fn user_option<'a, S, T>(name: S, value: Option<T>) -> TmuxCommand<'a>
       where S: Into<Cow<'a, str>>,
             T: Into<Cow<'a, str>> { ... }
    fn user_option_ext<'a, U, S, T>(
        target: Option<U>,
        name: S,
        value: Option<T>,
    ) -> TmuxCommand<'a>
       where U: Into<Cow<'a, str>>,
             S: Into<Cow<'a, str>>,
             T: Into<Cow<'a, str>> { ... }
}

Provided Methods§

Source

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

Source

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

§Manual
@user-option-name value

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§