pub struct TextFxDiagnosticVerbosityByContext {
pub build: TextFxDiagnosticVerbosity,
pub ssr: TextFxDiagnosticVerbosity,
pub runtime: TextFxDiagnosticVerbosity,
}Fields§
§build: TextFxDiagnosticVerbosity§ssr: TextFxDiagnosticVerbosity§runtime: TextFxDiagnosticVerbosityImplementations§
Source§impl TextFxDiagnosticVerbosityByContext
impl TextFxDiagnosticVerbosityByContext
pub fn for_context( &self, context: TextFxDiagnosticContext, ) -> TextFxDiagnosticVerbosity
Trait Implementations§
Source§impl Clone for TextFxDiagnosticVerbosityByContext
impl Clone for TextFxDiagnosticVerbosityByContext
Source§fn clone(&self) -> TextFxDiagnosticVerbosityByContext
fn clone(&self) -> TextFxDiagnosticVerbosityByContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for TextFxDiagnosticVerbosityByContext
impl<'de> Deserialize<'de> for TextFxDiagnosticVerbosityByContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextFxDiagnosticVerbosityByContext
Source§impl PartialEq for TextFxDiagnosticVerbosityByContext
impl PartialEq for TextFxDiagnosticVerbosityByContext
Source§fn eq(&self, other: &TextFxDiagnosticVerbosityByContext) -> bool
fn eq(&self, other: &TextFxDiagnosticVerbosityByContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextFxDiagnosticVerbosityByContext
Auto Trait Implementations§
impl Freeze for TextFxDiagnosticVerbosityByContext
impl RefUnwindSafe for TextFxDiagnosticVerbosityByContext
impl Send for TextFxDiagnosticVerbosityByContext
impl Sync for TextFxDiagnosticVerbosityByContext
impl Unpin for TextFxDiagnosticVerbosityByContext
impl UnsafeUnpin for TextFxDiagnosticVerbosityByContext
impl UnwindSafe for TextFxDiagnosticVerbosityByContext
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