Struct rustc_save_analysis::Analysis [−][src]
#[repr(C)]pub(crate) struct Analysis {
pub config: Config,
pub version: Option<String>,
pub compilation: Option<CompilationOptions>,
pub prelude: Option<CratePreludeData>,
pub imports: Vec<Import, Global>,
pub defs: Vec<Def, Global>,
pub impls: Vec<Impl, Global>,
pub refs: Vec<Ref, Global>,
pub macro_refs: Vec<MacroRef, Global>,
pub relations: Vec<Relation, Global>,
}Fields
config: ConfigThe Config used to generate this analysis data.
version: Option<String>compilation: Option<CompilationOptions>prelude: Option<CratePreludeData>imports: Vec<Import, Global>defs: Vec<Def, Global>impls: Vec<Impl, Global>refs: Vec<Ref, Global>macro_refs: Vec<MacroRef, Global>relations: Vec<Relation, Global>Auto Trait Implementations
impl RefUnwindSafe for Analysis
impl UnwindSafe for Analysis
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: 432 bytes