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
Tuple Fields of Raw
0: String
Json(Json)
Raw data in json format
Tuple Fields of Json
0: Json
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 ExternDepSpec
impl Send for ExternDepSpec
impl Sync for ExternDepSpec
impl Unpin for ExternDepSpec
impl UnwindSafe for ExternDepSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
Raw
: 24 bytesJson
: 32 bytes