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
Present(String)The external source has been loaded already.
AbsentOkNo attempt has been made to load the external source.
AbsentErrA failed attempt has been made to load the external source.
UnneededNo external source has to be loaded, since the FileMap represents a local crate.
Methods
impl ExternalSource[src]
impl ExternalSourceTrait Implementations
impl PartialEq for ExternalSource[src]
impl PartialEq for ExternalSourcefn eq(&self, other: &ExternalSource) -> bool[src]
fn eq(&self, other: &ExternalSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExternalSource) -> bool[src]
fn ne(&self, other: &ExternalSource) -> boolThis method tests for !=.
impl Eq for ExternalSource[src]
impl Eq for ExternalSourceimpl Clone for ExternalSource[src]
impl Clone for ExternalSourcefn clone(&self) -> ExternalSource[src]
fn clone(&self) -> ExternalSourceReturns 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
Auto Trait Implementations
impl Send for ExternalSource
impl Send for ExternalSourceimpl Sync for ExternalSource
impl Sync for ExternalSource