Struct syntax::errors::snippet::RenderedLine [] [src]

pub struct RenderedLine {
    pub text: Vec<StyledString>,
    pub kind: RenderedLineKind,
}
Unstable (rustc_private)

Fields

text: Vec<StyledString>
Unstable (rustc_private)
kind: RenderedLineKind
Unstable (rustc_private)

Trait Implementations

impl<S> From<(S, Style, RenderedLineKind)> for RenderedLine where S: StringSource
[src]

fn from((text, style, kind): (S, Style, RenderedLineKind)) -> Self

Performs the conversion.

impl<S1, S2> From<(S1, Style, S2, Style, RenderedLineKind)> for RenderedLine where S1: StringSource, S2: StringSource
[src]

fn from(tuple: (S1, Style, S2, Style, RenderedLineKind)) -> Self

Performs the conversion.

Derived Implementations

impl Debug for RenderedLine
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.