Struct syntax::diagnostics::plugin::DiagnosticStyledString [−][src]
pub struct DiagnosticStyledString(pub Vec<StringPart>);
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl DiagnosticStyledString[src]
impl DiagnosticStyledStringpub fn new() -> DiagnosticStyledString[src]
pub fn new() -> DiagnosticStyledString🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn push_normal<S>(&mut self, t: S) where
S: Into<String>, [src]
pub fn push_normal<S>(&mut self, t: S) where
S: Into<String>, 🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn push_highlighted<S>(&mut self, t: S) where
S: Into<String>, [src]
pub fn push_highlighted<S>(&mut self, t: S) where
S: Into<String>, 🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn normal<S>(t: S) -> DiagnosticStyledString where
S: Into<String>, [src]
pub fn normal<S>(t: S) -> DiagnosticStyledString where
S: Into<String>, 🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn highlighted<S>(t: S) -> DiagnosticStyledString where
S: Into<String>, [src]
pub fn highlighted<S>(t: S) -> DiagnosticStyledString where
S: Into<String>, 🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn content(&self) -> String[src]
pub fn content(&self) -> String🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl Eq for DiagnosticStyledString[src]
impl Eq for DiagnosticStyledStringfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq<DiagnosticStyledString> for DiagnosticStyledString[src]
impl PartialEq<DiagnosticStyledString> 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 !=.
Auto Trait Implementations
impl Send for DiagnosticStyledString
impl Send for DiagnosticStyledStringimpl Sync for DiagnosticStyledString
impl Sync for DiagnosticStyledString