Struct ra_ap_ide_diagnostics::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: FxHashSet<String>,
pub expr_fill_default: ExprFillDefaultMode,
pub insert_use: InsertUseConfig,
pub prefer_no_std: bool,
pub prefer_prelude: bool,
}Fields§
§enabled: boolWhether native diagnostics are enabled.
proc_macros_enabled: bool§proc_attr_macros_enabled: bool§disable_experimental: bool§disabled: FxHashSet<String>§expr_fill_default: ExprFillDefaultMode§insert_use: InsertUseConfig§prefer_no_std: bool§prefer_prelude: boolImplementations§
source§impl DiagnosticsConfig
impl DiagnosticsConfig
pub fn test_sample() -> Self
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