Struct skim::SkimOptions

source ·
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: bool

Trait Implementations§

source§

impl<'a> Default for SkimOptions<'a>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AsAny for T
where T: Any,

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

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> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

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

§

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.