Struct datafusion_rustyline::config::Config [−][src]
pub struct Config { /* fields omitted */ }
User preferences
Methods
impl Config
[src]
impl Config
pub fn builder() -> Builder
[src]
pub fn builder() -> Builder
pub fn max_history_size(&self) -> usize
[src]
pub fn max_history_size(&self) -> usize
Tell the maximum length (i.e. number of entries) for the history.
pub fn history_duplicates(&self) -> HistoryDuplicates
[src]
pub 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.
pub fn history_ignore_space(&self) -> bool
[src]
pub 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.
pub fn completion_type(&self) -> CompletionType
[src]
pub fn completion_type(&self) -> CompletionType
pub fn completion_prompt_limit(&self) -> usize
[src]
pub fn completion_prompt_limit(&self) -> usize
pub fn keyseq_timeout(&self) -> i32
[src]
pub fn keyseq_timeout(&self) -> i32
pub fn edit_mode(&self) -> EditMode
[src]
pub fn edit_mode(&self) -> EditMode
pub fn auto_add_history(&self) -> bool
[src]
pub fn auto_add_history(&self) -> bool
Tell if lines are automatically added to the history.
By default, they are not.
Trait Implementations
impl Clone for Config
[src]
impl Clone for Config
fn clone(&self) -> Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Config
[src]
impl Copy for Config
impl Debug for Config
[src]
impl Debug for Config
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Config
[src]
impl PartialEq for Config
fn eq(&self, other: &Config) -> bool
[src]
fn eq(&self, other: &Config) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Config) -> bool
[src]
fn ne(&self, other: &Config) -> bool
This method tests for !=
.
impl Eq for Config
[src]
impl Eq for Config
impl Default for Config
[src]
impl Default for Config