[][src]Struct skim::SkimOptions

pub struct SkimOptions<'a> {
    pub bind: Vec<&'a str>,
    pub multi: bool,
    pub prompt: Option<&'a str>,
    pub cmd_prompt: Option<&'a str>,
    pub expect: Option<String>,
    pub tac: bool,
    pub tiebreak: Option<String>,
    pub ansi: bool,
    pub exact: bool,
    pub cmd: Option<&'a str>,
    pub interactive: bool,
    pub query: Option<&'a str>,
    pub cmd_query: Option<&'a str>,
    pub regex: bool,
    pub delimiter: Option<&'a str>,
    pub nth: Option<&'a str>,
    pub with_nth: Option<&'a str>,
    pub replstr: Option<&'a str>,
    pub color: Option<&'a str>,
    pub margin: Option<&'a str>,
    pub min_height: Option<&'a str>,
    pub height: Option<&'a str>,
    pub preview: Option<&'a str>,
    pub preview_window: Option<&'a str>,
    pub reverse: bool,
    pub read0: bool,
    pub print0: bool,
    pub tabstop: Option<&'a str>,
    pub print_query: bool,
    pub print_cmd: bool,
    pub no_hscroll: bool,
    pub inline_info: bool,
    pub header: Option<&'a str>,
}

Fields

bind: Vec<&'a str>multi: boolprompt: Option<&'a str>cmd_prompt: Option<&'a str>expect: Option<String>tac: booltiebreak: Option<String>ansi: boolexact: boolcmd: Option<&'a str>interactive: boolquery: Option<&'a str>cmd_query: Option<&'a str>regex: booldelimiter: Option<&'a str>nth: Option<&'a str>with_nth: Option<&'a str>replstr: Option<&'a str>color: Option<&'a str>margin: Option<&'a str>min_height: Option<&'a str>height: Option<&'a str>preview: Option<&'a str>preview_window: Option<&'a str>reverse: boolread0: boolprint0: booltabstop: Option<&'a str>print_query: boolprint_cmd: boolno_hscroll: boolinline_info: boolheader: Option<&'a str>

Methods

impl<'a> SkimOptions<'a>[src]

pub fn from_options(options: &'a ArgMatches) -> SkimOptions<'a>[src]

pub fn bind(self, bind: Vec<&'a str>) -> Self[src]

pub fn multi(self, multi: bool) -> Self[src]

pub fn prompt(self, prompt: &'a str) -> Self[src]

pub fn cmd_prompt(self, cmd_prompt: &'a str) -> Self[src]

pub fn expect(self, expect: String) -> Self[src]

pub fn tac(self, tac: bool) -> Self[src]

pub fn tiebreak(self, tiebreak: String) -> Self[src]

pub fn ansi(self, ansi: bool) -> Self[src]

pub fn exact(self, exact: bool) -> Self[src]

pub fn cmd(self, cmd: &'a str) -> Self[src]

pub fn interactive(self, interactive: bool) -> Self[src]

pub fn query(self, query: &'a str) -> Self[src]

pub fn cmd_query(self, cmd_query: &'a str) -> Self[src]

pub fn regex(self, regex: bool) -> Self[src]

pub fn delimiter(self, delimiter: &'a str) -> Self[src]

pub fn nth(self, nth: &'a str) -> Self[src]

pub fn with_nth(self, with_nth: &'a str) -> Self[src]

pub fn replstr(self, replstr: &'a str) -> Self[src]

pub fn color(self, color: &'a str) -> Self[src]

pub fn margin(self, margin: &'a str) -> Self[src]

pub fn min_height(self, min_height: &'a str) -> Self[src]

pub fn height(self, height: &'a str) -> Self[src]

pub fn preview(self, preview: &'a str) -> Self[src]

pub fn preview_window(self, preview_window: &'a str) -> Self[src]

pub fn reverse(self, reverse: bool) -> Self[src]

pub fn read0(self, read0: bool) -> Self[src]

pub fn print0(self, print0: bool) -> Self[src]

pub fn tabstop(self, tabstop: &'a str) -> Self[src]

pub fn print_query(self, print_query: bool) -> Self[src]

pub fn print_cmd(self, print_cmd: bool) -> Self[src]

pub fn no_hscroll(self, no_hscroll: bool) -> Self[src]

pub fn inline_info(self, inline_info: bool) -> Self[src]

pub fn header(self, header: &'a str) -> Self[src]

Trait Implementations

impl<'a> Default for SkimOptions<'a>[src]

impl<'a> Debug for SkimOptions<'a>[src]

Auto Trait Implementations

impl<'a> Send for SkimOptions<'a>

impl<'a> Sync for SkimOptions<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.