Struct rustc_codegen_ssa::CodegenResults
source · [−]pub struct CodegenResults {
pub modules: Vec<CompiledModule>,
pub allocator_module: Option<CompiledModule>,
pub metadata_module: Option<CompiledModule>,
pub metadata: EncodedMetadata,
pub crate_info: CrateInfo,
}
Fields
modules: Vec<CompiledModule>
allocator_module: Option<CompiledModule>
metadata_module: Option<CompiledModule>
metadata: EncodedMetadata
crate_info: CrateInfo
Implementations
sourceimpl CodegenResults
impl CodegenResults
pub fn serialize_rlink(codegen_results: &CodegenResults) -> Vec<u8>
pub fn deserialize_rlink<'a>(data: Vec<u8>) -> Result<Self, CodegenErrors<'a>>
Trait Implementations
sourceimpl<__D: Decoder> Decodable<__D> for CodegenResults
impl<__D: Decoder> Decodable<__D> for CodegenResults
Auto Trait Implementations
impl !RefUnwindSafe for CodegenResults
impl !Send for CodegenResults
impl !Sync for CodegenResults
impl Unpin for CodegenResults
impl !UnwindSafe for CodegenResults
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 624 bytes