Struct ide::DiagnosticsConfig
source · pub struct DiagnosticsConfig {
pub enabled: bool,
pub proc_macros_enabled: bool,
pub proc_attr_macros_enabled: bool,
pub disable_experimental: bool,
pub disabled: HashSet<String, BuildHasherDefault<FxHasher>>,
pub expr_fill_default: ExprFillDefaultMode,
pub style_lints: bool,
pub insert_use: InsertUseConfig,
pub prefer_no_std: bool,
pub prefer_prelude: bool,
}
Fields§
§enabled: bool
Whether native diagnostics are enabled.
proc_macros_enabled: bool
§proc_attr_macros_enabled: bool
§disable_experimental: bool
§disabled: HashSet<String, BuildHasherDefault<FxHasher>>
§expr_fill_default: ExprFillDefaultMode
§style_lints: bool
§insert_use: InsertUseConfig
§prefer_no_std: bool
§prefer_prelude: bool
Implementations§
source§impl DiagnosticsConfig
impl DiagnosticsConfig
pub fn test_sample() -> DiagnosticsConfig
Trait Implementations§
source§impl Clone for DiagnosticsConfig
impl Clone for DiagnosticsConfig
source§fn clone(&self) -> DiagnosticsConfig
fn clone(&self) -> DiagnosticsConfig
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for DiagnosticsConfig
impl Send for DiagnosticsConfig
impl Sync for DiagnosticsConfig
impl Unpin for DiagnosticsConfig
impl UnwindSafe for DiagnosticsConfig
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