pub struct TypeCheckingConfig {
pub format: TypeCheckingFormat,
pub color: bool,
}Expand description
How a type check renders whatever diagnostics it finds.
Fields§
§format: TypeCheckingFormatOutput format.
color: boolWhether to include ANSI colour escapes. Only Full and Concise
render any colour; the machine-readable formats ignore it.
Trait Implementations§
Source§impl Clone for TypeCheckingConfig
impl Clone for TypeCheckingConfig
Source§fn clone(&self) -> TypeCheckingConfig
fn clone(&self) -> TypeCheckingConfig
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 moreimpl Copy for TypeCheckingConfig
Source§impl Debug for TypeCheckingConfig
impl Debug for TypeCheckingConfig
Source§impl Default for TypeCheckingConfig
impl Default for TypeCheckingConfig
Source§fn default() -> TypeCheckingConfig
fn default() -> TypeCheckingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeCheckingConfig
impl<'de> Deserialize<'de> for TypeCheckingConfig
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 TypeCheckingConfig
Source§impl PartialEq for TypeCheckingConfig
impl PartialEq for TypeCheckingConfig
Source§impl Serialize for TypeCheckingConfig
impl Serialize for TypeCheckingConfig
impl StructuralPartialEq for TypeCheckingConfig
Auto Trait Implementations§
impl Freeze for TypeCheckingConfig
impl RefUnwindSafe for TypeCheckingConfig
impl Send for TypeCheckingConfig
impl Sync for TypeCheckingConfig
impl Unpin for TypeCheckingConfig
impl UnsafeUnpin for TypeCheckingConfig
impl UnwindSafe for TypeCheckingConfig
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