struct LocalConfigInput {Show 36 fields
assist_emitMustUse: Option<bool>,
assist_expressionFillDefault: Option<ExprFillDefaultDef>,
assist_preferSelf: Option<bool>,
assist_termSearch_borrowcheck: Option<bool>,
assist_termSearch_fuel: Option<usize>,
completion_addSemicolonToUnit: Option<bool>,
completion_autoAwait_enable: Option<bool>,
completion_autoIter_enable: Option<bool>,
completion_autoimport_enable: Option<bool>,
completion_autoimport_exclude: Option<Vec<AutoImportExclusion>>,
completion_autoself_enable: Option<bool>,
completion_callable_snippets: Option<CallableCompletionDef>,
completion_excludeTraits: Option<Vec<String>>,
completion_fullFunctionSignatures_enable: Option<bool>,
completion_hideDeprecated: Option<bool>,
completion_limit: Option<Option<usize>>,
completion_postfix_enable: Option<bool>,
completion_privateEditable_enable: Option<bool>,
completion_termSearch_enable: Option<bool>,
completion_termSearch_fuel: Option<usize>,
diagnostics_disabled: Option<FxHashSet<String>>,
diagnostics_enable: Option<bool>,
diagnostics_experimental_enable: Option<bool>,
diagnostics_remapPrefix: Option<FxHashMap<String, String>>,
diagnostics_styleLints_enable: Option<bool>,
diagnostics_warningsAsHint: Option<Vec<String>>,
diagnostics_warningsAsInfo: Option<Vec<String>>,
imports_granularity_enforce: Option<bool>,
imports_granularity_group: Option<ImportGranularityDef>,
imports_group_enable: Option<bool>,
imports_merge_glob: Option<bool>,
imports_preferNoStd: Option<bool>,
imports_preferPrelude: Option<bool>,
imports_prefix: Option<ImportPrefixDef>,
imports_prefixExternPrelude: Option<bool>,
rename_showConflicts: Option<bool>,
}Expand description
All fields Option<T>, None representing fields not set in a particular JSON/TOML blob.
Fields§
§assist_emitMustUse: Option<bool>§assist_expressionFillDefault: Option<ExprFillDefaultDef>§assist_preferSelf: Option<bool>§assist_termSearch_borrowcheck: Option<bool>§assist_termSearch_fuel: Option<usize>§completion_addSemicolonToUnit: Option<bool>§completion_autoAwait_enable: Option<bool>§completion_autoIter_enable: Option<bool>§completion_autoimport_enable: Option<bool>§completion_autoimport_exclude: Option<Vec<AutoImportExclusion>>§completion_autoself_enable: Option<bool>§completion_callable_snippets: Option<CallableCompletionDef>§completion_excludeTraits: Option<Vec<String>>§completion_fullFunctionSignatures_enable: Option<bool>§completion_hideDeprecated: Option<bool>§completion_limit: Option<Option<usize>>§completion_postfix_enable: Option<bool>§completion_privateEditable_enable: Option<bool>§completion_termSearch_enable: Option<bool>§completion_termSearch_fuel: Option<usize>§diagnostics_disabled: Option<FxHashSet<String>>§diagnostics_enable: Option<bool>§diagnostics_experimental_enable: Option<bool>§diagnostics_remapPrefix: Option<FxHashMap<String, String>>§diagnostics_styleLints_enable: Option<bool>§diagnostics_warningsAsHint: Option<Vec<String>>§diagnostics_warningsAsInfo: Option<Vec<String>>§imports_granularity_enforce: Option<bool>§imports_granularity_group: Option<ImportGranularityDef>§imports_group_enable: Option<bool>§imports_merge_glob: Option<bool>§imports_preferNoStd: Option<bool>§imports_preferPrelude: Option<bool>§imports_prefix: Option<ImportPrefixDef>§imports_prefixExternPrelude: Option<bool>§rename_showConflicts: Option<bool>Implementations§
Source§impl LocalConfigInput
impl LocalConfigInput
const FIELDS: &'static [&'static str]
fn from_json(json: &mut Value, error_sink: &mut Vec<(String, Error)>) -> Self
fn from_toml(toml: &Table, error_sink: &mut Vec<(String, Error)>) -> Self
fn schema_fields( sink: &mut Vec<(&'static str, &'static str, &'static [&'static str], String)>, )
Trait Implementations§
Source§impl Clone for LocalConfigInput
impl Clone for LocalConfigInput
Source§fn clone(&self) -> LocalConfigInput
fn clone(&self) -> LocalConfigInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalConfigInput
impl Debug for LocalConfigInput
Source§impl Default for LocalConfigInput
impl Default for LocalConfigInput
Source§fn default() -> LocalConfigInput
fn default() -> LocalConfigInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalConfigInput
impl RefUnwindSafe for LocalConfigInput
impl Send for LocalConfigInput
impl Sync for LocalConfigInput
impl Unpin for LocalConfigInput
impl UnwindSafe for LocalConfigInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more