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§
source§impl CodegenResults
impl CodegenResults
pub fn serialize_rlink( sess: &Session, rlink_file: &Path, codegen_results: &CodegenResults ) -> Result<usize, Error>
pub fn deserialize_rlink( sess: &Session, data: Vec<u8> ) -> Result<Self, CodegenErrors>
Trait Implementations§
source§impl<__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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn 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: 640 bytes