Struct skim::SkimOptions
[−]
[src]
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, }
Fields
bind: Vec<&'a str>
multi: bool
prompt: Option<&'a str>
cmd_prompt: Option<&'a str>
expect: Option<String>
tac: bool
tiebreak: Option<String>
ansi: bool
exact: bool
cmd: Option<&'a str>
interactive: bool
query: Option<&'a str>
cmd_query: Option<&'a str>
regex: bool
delimiter: 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: bool
read0: bool
print0: bool
tabstop: Option<&'a str>
print_query: bool
print_cmd: bool
no_hscroll: bool
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]
Trait Implementations
impl<'a> Debug for SkimOptions<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> Default for SkimOptions<'a>
[src]
fn default() -> SkimOptions<'a>
[src]
Returns the "default value" for a type. Read more