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