Type Alias rustc_middle::middle::dependency_format::DependencyList

source ·
pub type DependencyList = Vec<Linkage>;
Expand description

A list of dependencies for a certain crate type.

The length of this vector is the same as the number of external crates used. The value is None if the crate does not need to be linked (it was found statically in another dylib), or Some(kind) if it needs to be linked as kind (either static or dynamic).

Aliased Type§

struct DependencyList {
    buf: RawVec<Linkage>,
    len: usize,
}

Fields§

§buf: RawVec<Linkage>§len: usize

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: 24 bytes