Enum syntax_pos::SpanSnippetError [−][src]
pub enum SpanSnippetError { IllFormedSpan(Span), DistinctSources(DistinctSources), MalformedForCodemap(MalformedCodemapPositions), SourceNotAvailable { filename: FileName, }, }
Variants
IllFormedSpan(Span)
DistinctSources(DistinctSources)
MalformedForCodemap(MalformedCodemapPositions)
SourceNotAvailable
Fields of SourceNotAvailable
filename: FileName |
Trait Implementations
impl Clone for SpanSnippetError
[src]
impl Clone for SpanSnippetError
fn clone(&self) -> SpanSnippetError
[src]
fn clone(&self) -> SpanSnippetError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SpanSnippetError
[src]
impl PartialEq for SpanSnippetError
fn eq(&self, other: &SpanSnippetError) -> bool
[src]
fn eq(&self, other: &SpanSnippetError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SpanSnippetError) -> bool
[src]
fn ne(&self, other: &SpanSnippetError) -> bool
This method tests for !=
.
impl Eq for SpanSnippetError
[src]
impl Eq for SpanSnippetError
impl Debug for SpanSnippetError
[src]
impl Debug for SpanSnippetError
Auto Trait Implementations
impl Send for SpanSnippetError
impl Send for SpanSnippetError
impl Sync for SpanSnippetError
impl Sync for SpanSnippetError