[−][src]Struct tcalc_rustyline::config::Builder
Methods
impl Builder
[src]
pub fn new() -> Builder
[src]
pub fn max_history_size(self, max_size: usize) -> Builder
[src]
Set the maximum length for the history.
pub fn history_ignore_dups(self, yes: bool) -> Builder
[src]
Tell if lines which match the previous history entry are saved or not in the history list. By default, they are ignored.
pub fn history_ignore_space(self, yes: bool) -> Builder
[src]
Tell if lines which begin with a space character are saved or not in the history list. By default, they are saved.
pub fn completion_type(self, completion_type: CompletionType) -> Builder
[src]
Set completion_type
.
pub fn completion_prompt_limit(self, completion_prompt_limit: usize) -> Builder
[src]
pub fn keyseq_timeout(self, keyseq_timeout_ms: i32) -> Builder
[src]
Set keyseq_timeout
in milliseconds.
pub fn build(self) -> Config
[src]
Trait Implementations
Auto Trait Implementations
impl Send for Builder
impl Unpin for Builder
impl Sync for Builder
impl UnwindSafe for Builder
impl RefUnwindSafe for Builder
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,