Enum syntex_errors::RenderSpan [] [src]

pub enum RenderSpan {
    FullSpan(MultiSpan),
    Suggestion(CodeSuggestion),
}

Variants

A FullSpan renders with both with an initial line for the message, prefixed by file:linenum, followed by a summary of the source code covered by the span.

A suggestion renders with both with an initial line for the message, prefixed by file:linenum, followed by a summary of hypothetical source code, where each String is spliced into the lines in place of the code covered by each span.

Trait Implementations

impl Clone for RenderSpan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RenderSpan
[src]

Formats the value using the given formatter.

impl PartialEq for RenderSpan
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.