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.