Enum syntax_pos::ExternalSource[][src]

pub enum ExternalSource {
    Present(String),
    AbsentOk,
    AbsentErr,
    Unneeded,
}

The state of the lazy external source loading mechanism of a FileMap.

Variants

The external source has been loaded already.

No attempt has been made to load the external source.

A failed attempt has been made to load the external source.

No external source has to be loaded, since the FileMap represents a local crate.

Methods

impl ExternalSource
[src]

Trait Implementations

impl PartialEq for ExternalSource
[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 ExternalSource
[src]

impl Clone for ExternalSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations