DiagnosticColor

Trait DiagnosticColor 

Source
pub trait DiagnosticColor {
    // Provided methods
    fn line_num(&self, s: impl Into<String>) -> String { ... }
    fn line(&self, s: impl Into<String>) -> String { ... }
    fn location(&self, s: impl Into<String>) -> String { ... }
    fn message(&self, s: impl Into<String>) -> String { ... }
}

Provided Methods§

Source

fn line_num(&self, s: impl Into<String>) -> String

Source

fn line(&self, s: impl Into<String>) -> String

Source

fn location(&self, s: impl Into<String>) -> String

Source

fn message(&self, s: impl Into<String>) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§