Enum syntax_pos::SpanSnippetError [−][src]
pub enum SpanSnippetError {
IllFormedSpan(Span),
DistinctSources(DistinctSources),
MalformedForCodemap(MalformedCodemapPositions),
SourceNotAvailable {
filename: FileName,
},
}Variants
IllFormedSpan(Span)DistinctSources(DistinctSources)MalformedForCodemap(MalformedCodemapPositions)SourceNotAvailableFields of SourceNotAvailable
filename: FileName |
Trait Implementations
impl Clone for SpanSnippetError[src]
impl Clone for SpanSnippetErrorfn clone(&self) -> SpanSnippetError[src]
fn clone(&self) -> SpanSnippetErrorReturns 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 SpanSnippetErrorfn eq(&self, other: &SpanSnippetError) -> bool[src]
fn eq(&self, other: &SpanSnippetError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for SpanSnippetError[src]
impl Eq for SpanSnippetErrorimpl Debug for SpanSnippetError[src]
impl Debug for SpanSnippetErrorAuto Trait Implementations
impl Send for SpanSnippetError
impl Send for SpanSnippetErrorimpl Sync for SpanSnippetError
impl Sync for SpanSnippetError