Struct rustyline::config::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
fn builder() -> Builder
fn max_history_size(&self) -> usize
Tell the maximum length (i.e. number of entries) for the history.
fn history_duplicates(&self) -> HistoryDuplicates
Tell if lines which match the previous history entry are saved or not in the history list. By default, they are ignored.
fn history_ignore_space(&self) -> bool
Tell if lines which begin with a space character are saved or not in the history list. By default, they are saved.
fn completion_type(&self) -> CompletionType
fn completion_prompt_limit(&self) -> usize
fn keyseq_timeout(&self) -> i32
Trait Implementations
impl Clone for Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Config
[src]
impl Debug for Config
[src]
impl PartialEq for Config
[src]
fn eq(&self, __arg_0: &Config) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Config) -> bool
This method tests for !=
.