Enum rustc_session::config::ExternDepSpec [−][src]
Expand description
Supplied source location of a dependency - for example in a build specification file like Cargo.toml. We support several syntaxes: if it makes sense to reference a file and line, then the build system can specify that. On the other hand, it may make more sense to have an arbitrary raw string.
Variants
Raw(String)Raw string
Json(Json)Raw data in json format
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ExternDepSpecimpl Send for ExternDepSpecimpl Sync for ExternDepSpecimpl Unpin for ExternDepSpecimpl UnwindSafe for ExternDepSpecBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes