pub struct SkimOptions<'a> {Show 47 fields
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 nosort: bool,
pub tiebreak: Option<String>,
pub exact: bool,
pub disabled: 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 replstr: Option<&'a str>,
pub color: Option<&'a str>,
pub margin: Option<&'a str>,
pub no_height: bool,
pub no_clear: bool,
pub no_clear_start: bool,
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 tabstop: Option<&'a str>,
pub no_hscroll: bool,
pub no_mouse: bool,
pub inline_info: bool,
pub header: Option<&'a str>,
pub header_lines: usize,
pub layout: &'a str,
pub algorithm: FuzzyAlgorithm,
pub case: CaseMatching,
pub engine_factory: Option<Rc<dyn MatchEngineFactory>>,
pub query_history: &'a [String],
pub cmd_history: &'a [String],
pub cmd_collector: Rc<RefCell<dyn CommandCollector>>,
pub keep_right: bool,
pub skip_to_pattern: &'a str,
pub select1: bool,
pub exit0: bool,
pub sync: bool,
pub selector: Option<Arc<dyn Selector>>,
pub no_clear_if_empty: bool,
}Fields§
§bind: Vec<&'a str>§multi: bool§prompt: Option<&'a str>§cmd_prompt: Option<&'a str>§expect: Option<String>§tac: bool§nosort: bool§tiebreak: Option<String>§exact: bool§disabled: bool§cmd: Option<&'a str>§interactive: bool§query: Option<&'a str>§cmd_query: Option<&'a str>§regex: bool§delimiter: Option<&'a str>§replstr: Option<&'a str>§color: Option<&'a str>§margin: Option<&'a str>§no_height: bool§no_clear: bool§no_clear_start: bool§min_height: Option<&'a str>§height: Option<&'a str>§preview: Option<&'a str>§preview_window: Option<&'a str>§reverse: bool§tabstop: Option<&'a str>§no_hscroll: bool§no_mouse: bool§inline_info: bool§header: Option<&'a str>§header_lines: usize§layout: &'a str§algorithm: FuzzyAlgorithm§case: CaseMatching§engine_factory: Option<Rc<dyn MatchEngineFactory>>§query_history: &'a [String]§cmd_history: &'a [String]§cmd_collector: Rc<RefCell<dyn CommandCollector>>§keep_right: bool§skip_to_pattern: &'a str§select1: bool§exit0: bool§sync: bool§selector: Option<Arc<dyn Selector>>§no_clear_if_empty: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SkimOptions<'a>
impl<'a> !RefUnwindSafe for SkimOptions<'a>
impl<'a> !Send for SkimOptions<'a>
impl<'a> !Sync for SkimOptions<'a>
impl<'a> Unpin for SkimOptions<'a>
impl<'a> !UnwindSafe for SkimOptions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more