Enum syntax_pos::SpanSnippetError[][src]

pub enum SpanSnippetError {
    IllFormedSpan(Span),
    DistinctSources(DistinctSources),
    MalformedForCodemap(MalformedCodemapPositions),
    SourceNotAvailable {
        filename: FileName,
    },
}

Variants

Fields of SourceNotAvailable

Trait Implementations

impl Clone for SpanSnippetError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SpanSnippetError
[src]

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

This method tests for !=.

impl Eq for SpanSnippetError
[src]

impl Debug for SpanSnippetError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations