Enum syntex_syntax::codemap::SpanSnippetError [] [src]

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

Variants

IllFormedSpan
DistinctSources
MalformedForCodemap
SourceNotAvailable

Fields

filename

Trait Implementations

Derived Implementations

impl Debug for SpanSnippetError

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

impl Eq for SpanSnippetError

impl PartialEq for SpanSnippetError

fn eq(&self, __arg_0: &SpanSnippetError) -> bool

fn ne(&self, __arg_0: &SpanSnippetError) -> bool

impl Clone for SpanSnippetError

fn clone(&self) -> SpanSnippetError

fn clone_from(&mut self, source: &Self)