Struct rustc_errors::DiagnosticStyledString [−][src]
pub struct DiagnosticStyledString(pub Vec<StringPart>);
Methods
impl DiagnosticStyledString[src]
impl DiagnosticStyledStringpub fn new() -> DiagnosticStyledString[src]
pub fn new() -> DiagnosticStyledStringpub fn push_normal<S: Into<String>>(&mut self, t: S)[src]
pub fn push_normal<S: Into<String>>(&mut self, t: S)pub fn push_highlighted<S: Into<String>>(&mut self, t: S)[src]
pub fn push_highlighted<S: Into<String>>(&mut self, t: S)pub fn normal<S: Into<String>>(t: S) -> DiagnosticStyledString[src]
pub fn normal<S: Into<String>>(t: S) -> DiagnosticStyledStringpub fn highlighted<S: Into<String>>(t: S) -> DiagnosticStyledString[src]
pub fn highlighted<S: Into<String>>(t: S) -> DiagnosticStyledStringpub fn content(&self) -> String[src]
pub fn content(&self) -> StringTrait Implementations
impl PartialEq for DiagnosticStyledString[src]
impl PartialEq for DiagnosticStyledStringfn eq(&self, other: &DiagnosticStyledString) -> bool[src]
fn eq(&self, other: &DiagnosticStyledString) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for DiagnosticStyledString[src]
impl Eq for DiagnosticStyledStringAuto Trait Implementations
impl Send for DiagnosticStyledString
impl Send for DiagnosticStyledStringimpl Sync for DiagnosticStyledString
impl Sync for DiagnosticStyledString