Struct syntax::errors::snippet::SnippetData
[−]
[src]
pub struct SnippetData {
// some fields omitted
}Unstable (
rustc_private)Methods
impl SnippetData[src]
fn new(codemap: Rc<CodeMap>, primary_span: Option<Span>) -> Self
fn push(&mut self, span: Span, is_primary: bool, label: Option<String>)
fn render_lines(&self) -> Vec<RenderedLine>
Trait Implementations
Derived Implementations
impl Clone for SnippetData[src]
fn clone(&self) -> SnippetData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more