Struct rustc_errors::DiagnosticStyledString [−][src]
pub struct DiagnosticStyledString(pub Vec<StringPart>);
Implementations
impl DiagnosticStyledString[src]
impl DiagnosticStyledString[src]pub fn new() -> DiagnosticStyledString[src]
pub fn push_normal<S: Into<String>>(&mut self, t: S)[src]
pub fn push_highlighted<S: Into<String>>(&mut self, t: S)[src]
pub fn push<S: Into<String>>(&mut self, t: S, highlight: bool)[src]
pub fn normal<S: Into<String>>(t: S) -> DiagnosticStyledString[src]
pub fn highlighted<S: Into<String>>(t: S) -> DiagnosticStyledString[src]
Trait Implementations
impl Debug for DiagnosticStyledString[src]
impl Debug for DiagnosticStyledString[src]impl PartialEq<DiagnosticStyledString> for DiagnosticStyledString[src]
impl PartialEq<DiagnosticStyledString> for DiagnosticStyledString[src]fn eq(&self, other: &DiagnosticStyledString) -> bool[src]
fn eq(&self, other: &DiagnosticStyledString) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &DiagnosticStyledString) -> bool[src]
fn ne(&self, other: &DiagnosticStyledString) -> bool[src]This method tests for !=.