Struct ra_ap_ide_completion::CompletionConfig
source · [−]pub struct CompletionConfig {
pub enable_postfix_completions: bool,
pub enable_imports_on_the_fly: bool,
pub enable_self_on_the_fly: bool,
pub add_call_parenthesis: bool,
pub add_call_argument_snippets: bool,
pub snippet_cap: Option<SnippetCap>,
pub insert_use: InsertUseConfig,
pub snippets: Vec<Snippet>,
}
Fields
enable_postfix_completions: bool
enable_imports_on_the_fly: bool
enable_self_on_the_fly: bool
add_call_parenthesis: bool
add_call_argument_snippets: bool
snippet_cap: Option<SnippetCap>
insert_use: InsertUseConfig
snippets: Vec<Snippet>
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CompletionConfig
impl Send for CompletionConfig
impl Sync for CompletionConfig
impl Unpin for CompletionConfig
impl UnwindSafe for CompletionConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more