pub struct DiagnosticsConfig {
pub verbosity: Verbosity,
pub warnings_as_errors: bool,
pub no_warn: bool,
pub display: Config,
}Fields§
§verbosity: Verbosity§warnings_as_errors: bool§no_warn: bool§display: ConfigTrait Implementations§
Source§impl Clone for DiagnosticsConfig
impl Clone for DiagnosticsConfig
Source§fn clone(&self) -> DiagnosticsConfig
fn clone(&self) -> DiagnosticsConfig
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 DiagnosticsConfig
impl Debug for DiagnosticsConfig
Auto Trait Implementations§
impl Freeze for DiagnosticsConfig
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